Topic: Lightbox/Modal for Couple images shown
Paul Bae free asked 5 years ago
Expected behavior Shown 3-5 images clickable. When clicked on should show lightbox gallery of more than 3-5 images.
Actual behavior Shown all images in mdb-modal.
Can someone explain how I can customize it to have only those images shown? Or If its possible to create a modal of images pop up from even one image?
Thank you!
Damian Gemza staff answered 5 years ago
Yes, there's such possibility, but you have to write in on your own.
We're haven't got such functionality, so you have to create a modal, and inject into it some images.
Best Regards,
Damian
Damian Gemza staff answered 5 years ago
Dear Paul Bae,
I don't know if I understood your question well, so please correct me if I'm wrong:
Do you want to show 3-5 images on your site, and when you click on one of those images, you want to show the lightbox component with the rest of your image gallery (for example 10 images)?
If this is your desired behavior, there's no possibility to customize the Lightbox component in such a way.
The lightbox component is rendering every image from his data array, so you can't render a few images from it.
Best Regards,
Damian
Paul Bae free commented 5 years ago
Is there a way to have modal pop out with a gallery of images from a button?
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 Angular
- MDB Version: 7.3.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No