Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated package json and links #3

Merged
merged 1 commit into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion env.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ fsi:
viewer: viewer
sources:
images: images/path
static: static/path
statics: statics/path
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "NeptuneLabs GmbH",
"url": "https://www.neptunelabs.com/"
},
"version": "23.01.06",
"version": "23.04.27",
"homepage": "https://www.neptunelabs.com/fsi-touchzoom",
"repository": {
"type": "git",
Expand All @@ -12,12 +12,12 @@
"license": "Apache-2.0",
"private": true,
"engines": {
"node": ">=14.0.0 <20",
"node": ">=14.0.0 <16",
"npm": ">=6.0.0"
},
"devDependencies": {
"@neptunelabs/fsi-samples-framework": "^1.0.2-dev",
"prettier": "^2.8.1"
"prettier": "^2.8.8"
},
"scripts": {
"start": "start-sample"
Expand Down
8 changes: 4 additions & 4 deletions samples/pdp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img
id="image"
class="zoom img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940"
width="940"
alt=""
/>
Expand Down Expand Up @@ -36,7 +36,7 @@ <h2 class="display-5">Harley</h2>
<img
class="zoom thumbnail img-fluid"
onclick="changeImage('0')"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=150"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=150"
width="150"
alt=""
/>
Expand All @@ -45,7 +45,7 @@ <h2 class="display-5">Harley</h2>
<img
class="zoom thumbnail img-fluid"
onclick="changeImage('1')"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=150"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=150"
width="150"
alt=""
/>
Expand All @@ -54,7 +54,7 @@ <h2 class="display-5">Harley</h2>
<img
class="zoom thumbnail img-fluid"
onclick="changeImage('2')"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=150"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=150"
width="150"
alt=""
/>
Expand Down
8 changes: 4 additions & 4 deletions samples/pdp/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ function changeImage(buttonID) {
let curImage = document.getElementById('image');
switch (buttonID) {
case "0":
img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940';
img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940';
break
case "1":
img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=940';
img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531467.jpg&width=940';
break
case "2":
img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=940';
img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531463.jpg&width=940';
break
default:
img = '{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940';
img = '{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531464.jpg&width=940';
}
curImage.src = img;
}
Expand Down
22 changes: 11 additions & 11 deletions samples/plp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/furniture-6048139.jpg&width=342&rect=0.30008,0,0.69992,1"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/furniture-6048139.jpg&width=342&rect=0.30008,0,0.69992,1"
width="342"
alt=""
/>
Expand All @@ -70,7 +70,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531461_1920.jpg&width=342&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531461_1920.jpg&width=342&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
width="342"
alt=""
/>
Expand All @@ -90,7 +90,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7567164.jpg&width=342&rect=0.03154,0.06192,0.93808,0.93808"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7567164.jpg&width=342&rect=0.03154,0.06192,0.93808,0.93808"
width="342"
alt=""
/>
Expand All @@ -110,7 +110,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/interior-design-6012873.jpg&width=3428&rect=0,0.3014,1,0.66706"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/interior-design-6012873.jpg&width=3428&rect=0,0.3014,1,0.66706"
width="342"
alt=""
/>
Expand All @@ -133,7 +133,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/living-room-7547558.jpg&width=342&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/living-room-7547558.jpg&width=342&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
width="342"
alt=""
/>
Expand All @@ -153,7 +153,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/living-room-7225005.jpg&width=3428&rect=0.00131,0.00117,0.56176,0.99883"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/living-room-7225005.jpg&width=3428&rect=0.00131,0.00117,0.56176,0.99883"
width="342"
alt=""
/>
Expand All @@ -173,7 +173,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531469.jpg&width=342"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531469.jpg&width=342"
width="342"
alt=""
/>
Expand All @@ -193,7 +193,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7473734.jpg&width=342"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7473734.jpg&width=342"
width="342"
alt=""
/>
Expand All @@ -216,7 +216,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/dresser-6717656.jpg&width=342&rect=0,0.01636,0.73006,0.97313"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/dresser-6717656.jpg&width=342&rect=0,0.01636,0.73006,0.97313"
width="342"
alt=""
/>
Expand All @@ -236,7 +236,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-7531451.jpg&width=342&rect=0.11799,0.0771,0.88084,0.88084"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-7531451.jpg&width=342&rect=0.11799,0.0771,0.88084,0.88084"
width="342"
alt=""
/>
Expand All @@ -256,7 +256,7 @@ <h2 class="display-5 mx-auto">Organization (11 products)</h2>
<div class="card h-100">
<img
class="zoom card-img-top img-fluid"
src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/ssi/furniture/home-2082923.jpg&width=342&rect=0,0.21846,1,0.74416&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/ssi/furniture/home-2082923.jpg&width=342&rect=0,0.21846,1,0.74416&renderer=overlay&overlays=images/samples/ssi/overlays/sale-small.png(88,TL,0,0)"
width="342"
alt=""
/>
Expand Down
4 changes: 2 additions & 2 deletions samples/starter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
padding:0;
}
</style>
<script src="{{{fsi.server}}}/{{{fsi.context}}}/{{{fsi.viewer}}}/applications/touchzoom/js/fsitouchzoom.js"></script>
<script src="{{&fsi.server}}/{{&fsi.context}}/{{&fsi.viewer}}/applications/touchzoom/js/fsitouchzoom.js"></script>
</head>
<body>
<fsi-touchzoom style="display:none"
useDevicePixelRatio="true"
></fsi-touchzoom>

<img src="{{{fsi.server}}}/{{{fsi.context}}}/server?type=image&source=images/samples/notebook.png&width=800" width="800" alt="">
<img src="{{&fsi.server}}/{{&fsi.context}}/server?type=image&source=images/samples/notebook.png&width=800" width="800" alt="">

</body>
</html>