-
Notifications
You must be signed in to change notification settings - Fork 248
Expand file tree
/
Copy path2-gride-data-attributes-example.html
More file actions
44 lines (40 loc) · 1.29 KB
/
2-gride-data-attributes-example.html
File metadata and controls
44 lines (40 loc) · 1.29 KB
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
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>360 Grid Example — data attributes</title>
<style>
body { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px; background: #f5f5f5; }
.viewer { width: 100%; max-width: 500px; aspect-ratio: 1 / 1; }
h2 { margin: 0; font-family: system-ui, sans-serif; color: #333; }
</style>
</head>
<body>
<h2>1. Cloudimage</h2>
<div
class="cloudimage-360 viewer"
data-folder="/test_spin_full/"
data-filename-grid="20000064001612d_2d_{indexY}_{indexX}.jpg"
data-amount-x="24"
data-amount-y="4"
data-index-zero-base="3"
data-responsive="xa0wdi7s6t"
data-stop-at-edges-y="true"
></div>
<h2>2. Filerobot</h2>
<div
class="cloudimage-360 viewer"
data-folder="https://xa0wdi7s6t.filerobot.com/test_spin_full/"
data-filename-grid="20000064001612d_2d_{indexY}_{indexX}.jpg"
data-amount-x="24"
data-amount-y="4"
data-index-zero-base="3"
data-stop-at-edges-y="true"
></div>
<script src="https://scaleflex.cloudimg.io/v7/plugins/cloudimage/360-view/latest/360-view.min.js?func=proxy"></script>
<script>
window.CI360.initAll();
</script>
</body>
</html>