Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17539

    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.

    #95843

    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 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.

    Regards,

    Ismael

    #95844

    Ohh thats exactly what i did, but i didn’t know i had to regenerate thumbnails! Thank you so much :)

    #95845

    Hi HawtCoffee,

    Glad we could help. I’ve marked this as resolved. :)

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Maximum heigh for portfolio slideshow’ is closed to new replies.