lightbox transitions


Topic: lightbox transitions

jumpshotink pro asked 4 months ago

Is there a way to add a transition to the images in lightbox (for example, fade in)?


Piotr Obrebski staff answered 4 months ago

Hi jumpshotink,

I created a snippet with animating images on a load of the lightbox.

We do not support animations on opening slideshow mode.

If you need additional help I am here for you.

Best Regards, Piotr

jumpshotink pro answered 4 months ago

Hi Piotr,

Thanks for the response. I was able to get the animations on load but I was curious about transitions once the lightbox was running (going from slide to slide when you click on the arrow buttons).


Piotr Obrebski staff commented 4 months ago

You can accomplish that by editing file /mdb-addons/mdb-lightbox-ui.html. Add desired classes to elements that you want to get animated on picture change. I can not show you how exactly you can make it work in snippet because this is our external addon file implemented in the package. This is a nice suggestion we will discuss adding this feature.

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.8
  • Device: iMac
  • Browser: Firefox
  • OS: Mac OS 10.11.6
  • Provided sample code: No
  • Provided link: No