Theme Joomla Extensions

How to change thumbnail size and carousel height?

Ive been fiddling with the CSS for 2 hours now, and I cant find a way to change the size of the thumbnails in the carousel. Additionally, Ive turned of the image description in the carousel.. and I would like the extra space that is now in the carousel, to be gone.. So basically I just want my thumbnails to be smaller.. and my carousel to show just the thumbnails with no extra space beneath.

How to I do this? Thanks!

LumoMongo replied javascript, not CSS

Well, that actually is part of the javascript due to thumbnail resizing - and not in the CSS

Skashi should see this post and be able to point you in the correct direction, if not I will let him know when he comes online...

allard replied Thanks.

Pfff, so Ive been looking in the wrong place then? haha that explains a lot..
Ill wait for him to help me in the right direction then! Thanks!!

skash replied Set in module parameters

You can set the thumbnail width and height through the module parameters.

The thumbnail area inside the carousel is dynamically generated according to the thumbnail size specified in the module parameters. For what you want to do you will need to manually set the height of the carousel wrapper. To do this, open up: [site name]/modules/mod_powerslidepro/tmpl/default.php and change:

.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper { height: $bigger_thumb_height; }


to your own height, replacing $bigger_thumb_height with an actual value eg. 200px .

If this doesn't work send me a link to your site and I'll take a look at what you are trying to do exactly.

allard replied It didnt work

hi there,

I've changed the code as you said, but nothing happened.. The address is here
So what I'm trying to do.. is make the actual thumbnails smaller..and I want to get rid of the extra space beneath the thumbnails (in the thumbnail container.. ).. so just a small strip of thumbnails..

Hope you can help me.. thanks in advance..

skash replied I see you're using free version

hmmm. This would have worked perfectly if you were using the Pro version. I will try have a look to see where the code is missing for the free version and I will send you the update.

allard replied That would be awesome.

If I can get this free version to work properly, I will seriously consider the pro version for future clients. I just want to test it out first..
Thanks in advance.

skash replied Change values manually

Ok i did a bit of searching and found out that the only way to get this to work on the free version is to change the values manually.

Open up:
[site name]/modules/mod_powerslide/powerslide.php

Change line 24-25 to the dimensions you need:

$thumb_width = '100'; 
$thumb_height = '75';


Then open up:
[site name]/modules/mod_powerslide/default.php

And change "115px" to the value you need for your site to line 103:

$carousel_height = $thumb_height > 80? (string)($thumb_height + 40)."px": "115px";


Happy coding!

allard replied That did the trick.

You are an absolute hero!
One more question though.. is there anyway you can get the main images to resize to the dimensions of the gallery?
I saw that option in the php file.. but when i set it to 1.. it just keeps loading and nothing happened..

skash replied Awesome!

Glad it worked out for you...
Unfortunately that is only a feature set for the Pro version.

Got something to add to the post shown above? Just fill in your details and thoughts below, your post will be added and if you are registered you will be automatically subscribed to this thread.

name
email
website
title
please type the security code
security code
 get notified of replies (members only, register here)

busy

INSIDE: Forum / Extensions

members

search