lightGallery
lightGallery copied to clipboard
Progressive loading of images
Summary
Hi there, we are at BuildFire.com one step away from purchasing the commercial license, our clients usually upload large images and the spinner is not favorable, we would like to show the image itself small sized maybe blurry until the src image is fully loaded, is that currently possible?
Hey @mas-iota,
Yes, it is already availbale.
By default, lightGallery resizes the thumbnails and displays instead of the large image until the large image is fully loaded.
Note: this works only if you provide the original size of the large image via data-lg-size
attribute
Docs- https://www.lightgalleryjs.com/docs/settings/#zoomFromOrigin
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.