If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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 :)
The topic ‘Maximum heigh for portfolio slideshow’ is closed to new replies.