I'd like to set the Toolset Gallery block on the Projects custom post single template to use Large images (lightbox display) rather than the full sized uploaded image (from the Media Gallery).
Photos are resized to 2048 tall/wide by WordPress, as they need to be used for a wide range of purposes. But for the project galleries, these images are too big/slow and I would like to set it to open the WP 'Large' sized images.
I can see an option which sets the gallery thumbnail image size, but not for the enlarged images (shown by the lightbox).
Thanks,
Josh.
Hi Josh,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and the lightbox in the Gallery block uses the full-sized (originally uploaded) image.
Although there is no option to select the size of that image, it shouldn't affect the page loading times. Unlike the images that are shown as gallery thumbnails, lightbox images are not loaded or called when the page loads.
Each of those lightbox images is loaded individually and on request, only when the respective gallery thumbnail is clicked and the lightbox window is loaded.
regards,
Waqar
Thanks for confirming this, Waqar.