Can I prevent a gallery from loading
Posted: Mon Aug 05, 2019 11:57 pm
Hi good people,
Just a quick question.
My site consists of 4 breakpoints. Some pages have a gallery/slideshow, and on the smallest breakpoint the gallery is different to the rest, as in the pictures are much smaller in size (kb) so use less bandwidth when loading.
However is there a way to stop the gallery from the other larger breakpoints from loading up on that small breakpoint.
I know with images or objects you can enable lazy loading and just make sure the image or object is outside of the page frame to prevent it from loading, but I do not seem to be able to find a similar solution for a slideshow/gallery.
I can hide the gallery in that breakpoint from showing up, but I believe it is still loading in the background. I cannot delete it from that breakpoint as I would of course delete it in every other breakpoint too.
Your input or solutions would be grateful.
Thanks.
Just a quick question.
My site consists of 4 breakpoints. Some pages have a gallery/slideshow, and on the smallest breakpoint the gallery is different to the rest, as in the pictures are much smaller in size (kb) so use less bandwidth when loading.
However is there a way to stop the gallery from the other larger breakpoints from loading up on that small breakpoint.
I know with images or objects you can enable lazy loading and just make sure the image or object is outside of the page frame to prevent it from loading, but I do not seem to be able to find a similar solution for a slideshow/gallery.
I can hide the gallery in that breakpoint from showing up, but I believe it is still loading in the background. I cannot delete it from that breakpoint as I would of course delete it in every other breakpoint too.
Your input or solutions would be grateful.
Thanks.