December 30, 2011 at 11:16 am #7865
Great template! One of the best that I bought on ThemeForest!
I have a question … How do I change the height of the slideshow in the homepage?
Thank you in advance,
JonathanDecember 30, 2011 at 5:32 pm #59504
Hi Jonathan, as far as I can tell, the slideshow automatically resizes based on the image you upload. So, you will have to resize the images before you upload them to your homepage gallery.
There are some resizing PHP scripts (timThumb) that you might be able to use if you know a little PHP.December 31, 2011 at 10:52 am #59505
you can change the slideshow/image dimensions in functions.php. Afterwards regenerate the thumbnails with: http://wordpress.org/extend/plugins/regenerate-thumbnails/January 1, 2012 at 7:23 am #59506
Can you tell me where in the functions.php the change in the dimenstions need to be made. Can’t seem to find it. Thanks.January 1, 2012 at 9:55 am #59507January 1, 2012 at 5:10 pm #59508
I’ve located function php. What I was referring to was the specific change within the code within the function php directory. Hope this makes sense ;) Thanks again!January 2, 2012 at 7:06 am #59509
At the very top you’ll find following code:
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36 ); // small preview pics eg sidebar news
$avia_config['imgSize']['post-format-image'] = array('width'=>630, 'height'=>999, 'crop'=>false); // big images for post format image and gallery posts
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
$avia_config['imgSize']['featured'] = array('width'=>930, 'height'=>340); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['portfolio'] = array('width'=>450, 'height'=>335); // images for portfolio entries (2,3,4 column)
$avia_config['imgSize']['dynamic_1'] = array('width'=>446, 'height'=>151); // images for 2/4 (aka 1/2) dynamic portfolio columns when using 3 columns
$avia_config['imgSize']['dynamic_2'] = array('width'=>609, 'height'=>210); // images for 2/3 dynamic portfolio columns
$avia_config['imgSize']['dynamic_3'] = array('width'=>688, 'height'=>151); // images for 3/4 dynamic portfolio columns
As you can see some thumbnail sizes are defined here (like images for lightbox & pages, etc.). Change the height value as required and regenerate the thumbs with: http://wordpress.org/extend/plugins/regenerate-thumbnails/January 2, 2012 at 8:26 pm #59510January 3, 2012 at 11:26 am #59511March 15, 2012 at 12:34 am #59512
I have the same issue, I have regenerated all images but that makes no difference, I am using the template builder in Propulsion/woocommerce and a dynamic 3 column slider but the depth of the slider image will not remain a constant depth so the home page is constantly going up and down. Is there a way to do this without having to crop each picture individually in Photoshop?
MMarch 17, 2012 at 1:40 pm #59513
The topic ‘Change the height of the slideshow in the homepage?’ is closed to new replies.