Topic: add context in light box

cjj2009 free asked 5 years ago


Expected behavior Add context under the image of light box Actual behavior Can add context. Resources (screenshots, code snippets etc.) enter image description here


cjj2009 free commented 5 years ago

I used below code, but the 'figcaption' does not work:

A caption for the above image.

Bartosz Termena staff commented 5 years ago

Hi! Have you tried to use Photos with captions?:

https://mdbootstrap.com/docs/angular/advanced/lightbox/#lightbox-captions

You can use the caption key of the images input to add a description to your lightbox.

Best Regards, Bartosz.


cjj2009 free answered 5 years ago


Hi, Thanks for you reply, but I did find the text of images in which file, HTML or TS? Please the below picture for details.

enter image description here


Bartosz Termena staff commented 5 years ago

Hi!

Use the caption key of the images input to add a description to your lightbox.

Best Regards, Bartosz.



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.4.0
  • Device: laptop
  • Browser: Chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No