Lightbox not switching from thumbnail to full scale image


Topic: Lightbox not switching from thumbnail to full scale image

Patrick Kvaksrud pro premium asked 2 months ago

Expected behavior Lightbox should show full scale image as shown in demo when image is clicked.

Actual behavior Ligbox displays thumbnail after click and even in fullscreen.

Resources (screenshots, code snippets etc.)

Snippet: https://mdbootstrap.com/snippets/standard/patrick_kvaksrud/2864294

What am I doing wrong?


Wojciech Staniszewski staff answered 2 months ago

This is an error with our component. Thanks for Your report, we will fix this as soon as possible. For now, You could change data-mdb-img to data-img.


Patrick Kvaksrud pro premium commented 2 months ago

Any timeframe on fix? Im guessing data-img was renamed to data-mdb-img at some point?


Grzegorz Bujański staff commented 2 months ago

Unfortunately at the moment I cannot say when this will be fixed. You're right, data-img has been changed to data-mdb-img. But it was intentional. In version 3.0.0, we have stamped the date attributes we use in the mdb namespace. But in the code this has also been changed. Therefore, we need to check why this problem occurs anyway.


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB 5
  • MDB Version: 3.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes
Tags