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

    Hello,

    I don’t know what I’m doing wrong – no matter what size i have set on masonry element nothing changes, the main problem i have is that when i click on the masonry images and modal opens, the images are not the original ones in full size but 1030 width, masonry element has image size 705, but that is not even showing anywhere. I want the popup to show full quality images.

    Thank you

    #1490164

    Hey nebuddlho,

    Thank you for the inquiry.

    Try to add this code in the functions.php file to adjust the size of the lightbox image.

    function avf_alb_lightbox_image_size_mod( $size, $context ){
      if( $context == ('av_gallery' || 'avia_masonry') ){
        return 'full';
      }
      return $size;
    }
    add_filter( 'avf_alb_lightbox_image_size', 'avf_alb_lightbox_image_size_mod', 10, 2 );

    Let us know the result.

    Best regards,
    Ismael

    #1490193

    Thank you

    #1490230

    Hi,

    You’re quite welcome! Let us know if you have more questions. Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Masonry image size’ is closed to new replies.