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 slideshow
4 posts from 2 voices-
Posted 6 months ago #
-
Hi,
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 entriesReplace it with
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>400, 'crop'=>true); // big images for lightbox and portfolio single entriesThis will crop all portfolio single slider images to 400px height. You need to regenerate thumbnails.
Regards,
IsmaelPosted 6 months ago # -
Ohh thats exactly what i did, but i didn't know i had to regenerate thumbnails! Thank you so much :)
Posted 6 months ago # -
Hi HawtCoffee,
Glad we could help. I've marked this as resolved. :)
Cheers,
IsmaelPosted 6 months ago #
Topic Closed
This topic has been closed to new replies.














