HTML
xxxxxxxxxx
1
<!-- First row -->
2
<form class="row">
3
4
<!-- First column -->
5
<div class="col-md-12">
6
7
<div id="mdb-lightbox-ui"></div>
8
9
<div class="mdb-lightbox no-margin">
10
11
<figure class="col-md-4">
12
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(94).jpg" data-size="1600x1067">
13
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(94).jpg" class="img-fluid">
14
</a>
15
<figcaption>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus nobis sit veritatis
16
cumque! Placeat voluptate aut pariatur! Nihil molestiae quos explicabo dignissimos quam cupiditate
17
sequi corporis eaque corrupti. Vel, est.</figcaption>
18
</figure>
19
<figure class="col-md-4">
20
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(96).jpg" data-size="1600x1067">
21
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(96).jpg" class="img-fluid" />
22
</a>
23
<figcaption>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
24
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
25
mollit anim id est laborum.</figcaption>
26
</figure>
27
<figure class="col-md-4">
28
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(95).jpg" data-size="1600x1067">
29
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(95).jpg" class="img-fluid" />
30
</a>
31
<figcaption>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque
32
laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae
33
vitae dicta sunt explicabo.</figcaption>
34
</figure>
35
<figure class="col-md-4">
36
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(92).jpg" data-size="1600x1067">
37
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(92).jpg" class="img-fluid" />
38
</a>
39
<figcaption>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia
40
consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</figcaption>
41
</figure>
42
<figure class="col-md-4">
43
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(137).jpg" data-size="1600x1067">
44
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(137).jpg" class="img-fluid" />
45
</a>
46
<figcaption>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci
47
velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat
48
voluptatem.</figcaption>
49
</figure>
50
<figure class="col-md-4">
51
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(132).jpg" data-size="1600x1067">
52
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(132).jpg" class="img-fluid" />
53
</a>
54
<figcaption>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam,
55
nisi ut aliquid ex ea commodi consequatur?</figcaption>
56
</figure>
57
<figure class="col-md-4">
58
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(129).jpg" data-size="1600x1067">
59
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(129).jpg" class="img-fluid" />
60
</a>
61
<figcaption>Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae
62
consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</figcaption>
63
</figure>
64
<figure class="col-md-4">
65
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(130).jpg" data-size="1600x1067">
66
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(130).jpg" class="img-fluid" />
67
</a>
68
<figcaption>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium
69
voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate
70
non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
71
fuga.</figcaption>
72
</figure>
73
<figure class="col-md-4">
74
<a href="https://mdbootstrap.com/img/Photos/Lightbox/Original/img%20(131).jpg" data-size="1600x1067">
75
<img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(131).jpg" class="img-fluid" />
76
</a>
77
<figcaption>Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta
78
nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis
79
voluptas assumenda est, omnis dolor repellendus. </figcaption>
80
</figure>
81
82
</div>
83
84
</div>
85
<!-- First column -->
86
87
</form>
88
<!-- First row -->
CSS
1
1
JS
xxxxxxxxxx
1
// MDB Lightbox Init
2
$(function () {
3
$("#mdb-lightbox-ui").load("mdb-addons/mdb-lightbox-ui.html");
4
});
Console errors: 0