diff --git a/artworks.ts b/artworks.ts index 0d46619d..92f7d06d 100644 --- a/artworks.ts +++ b/artworks.ts @@ -94,10 +94,10 @@ function displayDzi(index: number): void { id: "artworkContainer", prefixUrl: "images/", // Adjust the path to OpenSeadragon images tileSources: artwork.dziPath, - defaultZoomLevel: 1.0, + defaultZoomLevel: artwork.minZoomLevel, minZoomLevel: artwork.minZoomLevel, zoomPerScroll: 1.05, - zoomPerClick: 1.20, + zoomPerClick: 1.05, showNavigationControl: false, visibilityRatio: 1.0, // constrainDuringPan: true, diff --git a/constants.ts b/constants.ts index 9d1d279d..54cb76b7 100644 --- a/constants.ts +++ b/constants.ts @@ -15,7 +15,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/8.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/8.dzi", description: `190cm x 190cm\naluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "45%", maxWidthPercentageMobile: "75%" }, @@ -25,7 +25,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/5.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/5.dzi", description: `95.3cm x 190cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "25%", maxWidthPercentageMobile: "50%" }, @@ -35,7 +35,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/4.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/4.dzi", description: `300cm x 90cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "70%", maxWidthPercentageMobile: "80%" }, @@ -45,7 +45,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/2.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/2.dzi", description: `160cm x 90cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "60%", maxWidthPercentageMobile: "80%" }, @@ -55,7 +55,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/3.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/3.dzi", description: `135cm x 90cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "60%", maxWidthPercentageMobile: "80%" }, @@ -65,7 +65,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/6.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/6.dzi", description: `126.7cm x 190cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "30%", maxWidthPercentageMobile: "65%" }, @@ -75,7 +75,7 @@ export const artworks: Artwork[] = [ // imagePath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/png/1.png", dziPath: "https://adndkr-art.s3.eu-north-1.amazonaws.com/1.dzi", description: `150cm x 100cm aluminium dibond, direct print`, - minZoomLevel: 1.5, + minZoomLevel: 1.2, maxWidthPercentage: "60%", maxWidthPercentageMobile: "75%" }, diff --git a/dist/bundle.js.LICENSE.txt b/dist/bundle.js.LICENSE.txt deleted file mode 100644 index 02afd99c..00000000 --- a/dist/bundle.js.LICENSE.txt +++ /dev/null @@ -1,9 +0,0 @@ -//! Built on 2023-05-25 - -//! Git commit: v4.1.0-0-8849681 - -//! License: http://openseadragon.github.io/license/ - -//! http://openseadragon.github.io - -//! openseadragon 4.1.0