Tagged: ajax portfolio
I am using the Ajax Portfolio grid and have a small glitch. When I display the preview images as “Image List” the pictures are sized appropriately. However, when I change it to “Slideshow” or “Gallery” they are being vertically cropped. This seems like a simple issue, but when searching through the forums I haven’t been able to figure it out. Thanks so much.
Hey jmmurphree!
Thank you for using Enfold.
It is because the gallery and the slideshow use a specific thumbnail size. If you edit functions.php, you’ll find this:
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
That is the thumbnail size for the gallery and slideshow preview. You can adjust the width and height then regenerate the thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Ismael
Thank you! This worked perfectly.