lightbox transitions


Topic: lightbox transitions

jumpshotink pro asked a week ago

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

Thanks.


Piotr Obrebski staff answered a week ago

Hi jumpshotink,

I created a snippet with animating images on a load of the lightbox. https://mdbootstrap.com/snippets/jquery/pjoter-2-0/1046466

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 a week 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).

Thanks.


Piotr Obrebski staff commented a week 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.
Status

Answered

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
Tags