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