Transitions & Animations
lightGallery Desktop offers a rich set of transition effects to customize your viewing experience. You can control the animation style, its speed, and its acceleration curve directly from the View menu.
Transition Modes
This setting (mode) determines the visual effect used when switching between slides. The default is lg-slide.
lg-fadelg-slidelg-zoom-inlg-zoom-in-biglg-zoom-outlg-zoom-out-biglg-zoom-out-inlg-zoom-in-outlg-soft-zoomlg-scale-uplg-slide-circularlg-slide-circular-verticallg-slide-verticallg-slide-vertical-growthlg-slide-skew-onlylg-slide-skew-only-revlg-slide-skew-only-ylg-slide-skew-only-y-revlg-slide-skewlg-slide-skew-revlg-slide-skew-crosslg-slide-skew-cross-revlg-slide-skew-verlg-slide-skew-ver-revlg-slide-skew-ver-crosslg-slide-skew-ver-cross-revlg-lollipoplg-lollipop-revlg-rotatelg-rotate-revlg-tube
Easing Functions
This setting (cssEasing) controls the acceleration curve of the animations, making them feel more natural or stylized. The default is ease.
lineareaseease-inease-outease-in-outeaseInQuadeaseInCubiceaseInQuarteaseInQuinteaseInSineeaseInExpoeaseInCirceaseInBackeaseOutQuadeaseOutCubiceaseOutQuarteaseOutQuinteaseOutSineeaseOutExpoeaseOutCirceaseOutBackeaseInOutQuadeaseInOutCubiceaseInOutQuarteaseInOutQuinteaseInOutSineeaseInOutExpoeaseInOutCirceaseInOutBack
Animation Speed
- Speed (
speed): Sets the duration of the slide transition in milliseconds. (Default:600) - Hide Bars Delay (
hideBarsDelay): The delay in milliseconds before the toolbar and controls automatically hide. (Default:6000)