Hey there,
the title says it all. When I click on the images in my horizontal gallery and they open in a lightbox, I would like these images to appear in full-size, not a cropped version (I believe it’s “large”).
There’s an older thread with a post and solution for exactly this problem, only for a different gallery type and I don’t know how to make this code work for the horizontal gallery.
Thank you!
Hey tixxpff,
Thank you for the inquiry.
You can add this filter in the functions.php file to change the lightbox thumbnail size of the horizontal gallery:
function avf_alb_lightbox_image_size_mod($size) {
return "full";
}
add_filter('avf_alb_lightbox_image_size', 'avf_alb_lightbox_image_size_mod', 10, 1);
Best regards,
Ismael
Perfect, thank you!
Hi,
Great, I’m glad that Ismael could help you out. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard