How can i load a low-quality or low-res version before loading the full image? #308
-
I have this component implemented in a way where it may be frequently opened and closed with different sets of images (preload doesn't apply) and i want to reduce the delay between opening the lightbox and showing the user a large image - regardless of it's resolution or quality. This component supports If i could re-use the thumbnail i'm providing for the thumbnail plugin it would already help a ton, but ideally i could just programmatically instruct this component to load a smaller (lower quality) version of the image before automatically loading the full quality version once the lower quality preview has finished loading. Is there such a mechanism in this library? If yes, where can i find the documentation? If not, how can i build this myself inside this library? (Custom render function maybe?) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm afraid there is no built-in feature that would provide the desired functionality out of the box. However, you can implement it with a custom render function. |
Beta Was this translation helpful? Give feedback.
I'm afraid there is no built-in feature that would provide the desired functionality out of the box. However, you can implement it with a custom render function.