MDB Lightbox not working


Topic: MDB Lightbox not working

jlstory asked 4 years ago

Expected behavior I should be able to click the linked image to display the larger version of the image.

Actual behavior Nothing happens, which is strange because it worked just yesterday. It actually seemed to work when creating the snippet.

Resources (screenshots, code snippets etc.) MDB Pro 5

Snippet: https://mdbootstrap.com/snippets/jquery/jlstory/2769304 Console Error: There appears to be a problem in my MDB-Pro file, which I've only linked... enter image description here


jlstory answered 4 years ago

no change, just works now?


Krzysztof Wilk staff answered 4 years ago

Hi!

You have to specify the data-size attribute in the last two elements in your snippet.

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: MacBook
  • Browser: Any
  • OS: Big Sur
  • Provided sample code: No
  • Provided link: Yes