Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #20464

    I have a slider in a blog post at

    The images have different heights. The slider has a cool feature where it adjusts its height to display the full height of each image.

    I would like to keep the slider at the same height for each image, even if that means losing some off the top and/or bottom of each image. I’ve gone to the WP Gallery and edited each image to be 450px high. However, my edits don’t seem to be reflected when the slider displays them. The slider still has to change height from image to image.

    How can I keep the slider the same height for each image? Thanks in advance for the info.


    Hi VikR,

    Kindly open 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

    and replace it with:

    $avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>450, 'crop'=>true); // big images for lightbox and portfolio single entries

    save it and use Regenerate Thumbnails plugin to regenerate images.




    I hope it’s okay to add to this question.

    If I don’t want the images cropped but do want them to be displayed smaller than the default settings, do I just keep the “crop” value set to false?


    Hi pcprincess77,

    Setting crop to false will just have the images adjust proportionally. From the wordpress codex:

    False - Soft proportional crop mode ; True - Hard crop mode

    The generated thumbnail image will then be called by its name and whatever size was generated will get spit out into that usage. CSS will usually then adjust the image to make it fit the container so that the theme isn’t generating a whole bunch of single use images and instead a handful that can be used for multiple uses.




    Hi Devin

    You can remove my post under this topic if you’d like. I figured it out and have posted my solution under a different thread

    Thx :)



    Glad that you solved the issue :)

    Best regards,


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

The topic ‘Crop All Images in Slider to the Same Height?’ is closed to new replies.