How can i set the maximum heigh for portfolio slideshow images, on the page that you open a single portfolio item? I want them to be cropped if they have higher height than the value set.
Maximum heigh for portfolio slideshow4 posts from 2 voices
You can edit functions.php and find this code
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
Replace it with
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>400, 'crop'=>true); // big images for lightbox and portfolio single entries
This will crop all portfolio single slider images to 400px height. You need to regenerate thumbnails.
Ohh thats exactly what i did, but i didn't know i had to regenerate thumbnails! Thank you so much :)
Glad we could help. I've marked this as resolved. :)
This topic has been closed to new replies.