// Initialize gallery
const gallery = new LiteGallery('.lite-gallery', {
thumbnails: true,
fullscreen: true,
zoom: true,
rotate: true,
zoomLevels: [1, 1.5, 2, 3] // Custom zoom levels
});
Note: Zoom by clicking is only available in fullscreen mode. Click on an image to enter fullscreen, then click again to zoom.
For complete documentation and examples, check out the README.md and API.md files.