lightGallery icon indicating copy to clipboard operation
lightGallery copied to clipboard

Progressive loading of images

Open mas-iota opened this issue 2 years ago • 1 comments

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?

mas-iota avatar Sep 08 '22 00:09 mas-iota

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

sachinchoolur avatar Sep 14 '22 10:09 sachinchoolur

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.

stale[bot] avatar Nov 14 '22 02:11 stale[bot]