-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (34 loc) · 1.64 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<title>Full View Image</title>
</head>
<body>
<h1 class="text-center mb-5">Full View Image</h1>
<div class="container" style="height: 200vh;">
<div class="row">
<div class="col-md-2">
<img src="https://buffer.com/library/content/images/size/w1200/2023/10/free-images.jpg" class="img-thumbnail full-view-image" alt="">
</div>
<div class="col-md-2">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Image_created_with_a_mobile_phone.png/1200px-Image_created_with_a_mobile_phone.png" class="img-thumbnail full-view-image" alt="">
</div>
<div class="col-md-2">
<img src="https://media.macphun.com/img/uploads/customer/how-to/608/15542038745ca344e267fb80.28757312.jpg?q=85&w=1340" class="img-thumbnail full-view-image" alt="">
</div>
<div class="col-md-2">
<img src="https://img.freepik.com/free-photo/painting-mountain-lake-with-mountain-background_188544-9126.jpg" class="img-thumbnail full-view-image" alt="">
</div>
</div>
</div>
</body>
<script src="dist/image-viewer.js"></script>
<script>
const imageViewer = new ImageViewer('.full-view-image', {
maxZoomLevel: 10,
});
</script>
</html>