Autoplay Slideshow
lightGallery Desktop can automatically play through your images as a slideshow. You can configure this feature from the Autoplay
menu.
Autoplay Controls
-
Enable Autoplay (
autoplay
): The main toggle to start or stop the automatic slideshow.- Default:
false
- Default:
-
Pause Duration (
pause
): The time in milliseconds that each slide is displayed before transitioning to the next one.- Range: 1000ms - 10000ms
- Default:
5000
-
Progress Bar (
progressBar
): When enabled, a thin progress bar appears at the top of the gallery, indicating the time remaining until the next slide.- Default:
true
- Default:
-
Autoplay Controls (
autoplayControls
): Shows or hides the play/pause button in the main toolbar.- Default:
true
- Default:
-
Force Autoplay (
fourceAutoplay
): Iffalse
, autoplay will stop as soon as the user interacts with the gallery (e.g., clicks next/previous). Iftrue
, autoplay will attempt to resume after user interaction.- Default:
false
- Default: