Topic: Lightbox not switching from thumbnail to full scale image
Patrick Kvaksrud free asked 3 years 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 3 years 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 free commented 3 years ago
Any timeframe on fix? Im guessing data-img was renamed to data-mdb-img at some point?
Grzegorz Bujański staff commented 3 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes