I feel like I’ve dug into this before, but I can’t find any record of it: Is there a way to set the lightbox to use fullsize images (no scaling, original w x h)? I found this old snippet from 2016, but it doesn’t seem to work https://kriesi.at/support/topic/enfold-image-sizes-in-lightbox/#post-560543 — for example, on https://abodedev.wpengine.com/portfolio-item/adams-terrace/ the images in the lightbox still seem to be pulling from the default WordPress “large” size (1030px wide or tall). Thanks!
Hey sky19er,
Please try this filter in your child theme functions.php
add_filter( 'avf_alb_lightbox_image_size', 'change_lightbox_popup_size' );
function change_lightbox_popup_size( $size ) {
return 'fullsize';
}
Best regards,
Mike
Perfect — beautiful! Thanks so much, Mike — case/thread closed! ;)
Hi,
Great, I’m glad that Mike could help you out. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard