Can we have different images for the thumbnail and for the lightbox view?
Instead of this…
<bento-lightbox-gallery></bento-lightbox-gallery>
<figure>
<img
src="https://picsum.photos/id/237/640/480"
width="160" height="120" lightbox />
</figure>
… I need something like this:
<bento-lightbox-gallery></bento-lightbox-gallery>
<figure>
<img
src="https://picsum.photos/id/237/640/480"
data-ligthbox-src="https://picsum.photos/id/237/1280/960"
width="160" height="120" lightbox />
</figure>
This might be really useful from the perfomance point of view. Including large images into <img src=""> is not a good solution, even if we use lazy loading.
Can we have different images for the thumbnail and for the lightbox view?
Instead of this…
… I need something like this:
This might be really useful from the perfomance point of view. Including large images into
<img src="">is not a good solution, even if we use lazy loading.