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
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
Thank you