Full window, contain, click the numbers to open:
Full window, cover, looping :
Display in a container, cover, with thumbnails :
Display in a container, looping :
API use, in container, see code source
Open console to have details abouts events
Open then try
Next
Prev
Enter cover mode /
Enter contain mode
Close
Usage with srcset and sizes attributes. Full window, contained.
Be careful while using "cover" and data-sizes="100vw", the image could be wider than the viewport width.