Topic: One Thumbnail multiple photos?

a.hekmati88 pro asked 7 years ago


Hey guys does anyone have an idea how to build a lightbox with multiple photos using only one thumbnail? Thanks

a.hekmati88 pro answered 7 years ago


Thanks Marta MDB support team are the best. Regards

Marta Wierzbicka staff answered 7 years ago


Hello, try add style = "display: none;" to
<figure class="col-md-4">
                <a href="https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(111).jpg" data-size="1600x1067">
                    <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(111).jpg" class="img-fluid">
                </a>
            </figure>
like here:
<figure class="col-md-4">
                <a href="https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(112).jpg" data-size="1600x1067">
                    <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(112).jpg" class="img-fluid" style = "display: none;"/>
                </a>
            </figure>
Best, Marta

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No