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

    Hi

    I have noticed a slight difference in image quality/resolution when the same image is displayed depending on whether it is displayed in a gallery or in a slideshow or a single image.

    You can see this in the e.g. link I have provided. The first is an image in a masonry gallery which when clicked you will see shows at slightly lower quality to the same image displayed below on its own. FYI, the uploaded image is jpg, 1600x1068px.

    many thanks

    Peter

    #1355117

    Hi Peter,

    Please add this code in your child theme’s functions.php file:

    add_filter("avf_alb_lightbox_image_size", function($size, $context) {
        if($context = "avia_masonry") {
            $size = "full";
        }
        return $size;
    }, 10, 2);

    If you are not using a child theme, then you can download and find instructions here: https://kriesi.at/documentation/enfold/child-theme/
    Hope this helps.

    Best regards,
    Nikko

    #1355153

    Hi Nikko

    That’s great. Many thanks for your help.

    Peter

    #1355161

    Hi Peter,

    You’re welcome. :)
    We’re happy that we could help.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Reduced image quality in gallery’ is closed to new replies.