changeset 313:584909ee8883

force version of Mirador to 3.3.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Aug 2024 15:43:28 +0200
parents 0683312e21ba
children 9dc7f1e8716d
files NEWS ViewerPlugin/mirador.html ViewerPlugin/openseadragon.html
diffstat 3 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu May 30 22:11:10 2024 +0200
+++ b/NEWS	Wed Aug 14 15:43:28 2024 +0200
@@ -3,6 +3,7 @@
 
 * OrthancWSIDicomizer supports plain TIFF, besides hierarchical TIFF
 * New option: "tiff-alignment" to control deep zoom of plain TIFF over IIIF
+* Force version of Mirador to 3.3.0
 
 
 Version 2.0 (2023-10-07)
@@ -12,6 +13,7 @@
 * Automated extraction of the imaged volume if using OpenSlide
 * URI "/wsi/tiles/{id}/{z}/{x}/{y}" supports the "Accept" HTTP header
   to force JPEG, JPEG2k, or PNG in the decoded tiles
+* Force version of OpenSeadragon to 4.0.0
 
 
 Version 1.1 (2021-12-11)
--- a/ViewerPlugin/mirador.html	Thu May 30 22:11:10 2024 +0200
+++ b/ViewerPlugin/mirador.html	Wed Aug 14 15:43:28 2024 +0200
@@ -10,7 +10,15 @@
   </head>
   <body>
     <div id="mirador" style="position: absolute; top: 0; bottom: 0; left: 0; right: 0;"></div>
-    <script>document.write("<script type='text/javascript' src='https://unpkg.com/mirador@latest/dist/mirador.min.js'><\/script>");</script>
+
+    <!--
+
+        WARNING: Mirador v4.0.0 can sometimes request regions of negative
+        width or height. We thus stick to Mirador v3.3.0 for the moment.
+        https://github.com/openseadragon/openseadragon/issues/2379
+
+      -->
+    <script>document.write("<script type='text/javascript' src='https://unpkg.com/mirador@3.3.0/dist/mirador.min.js'><\/script>");</script>
     <script type="text/javascript">
       var params = new URL(document.location).searchParams;
       var manifest = params.get('iiif-content') || params.get('manifest');
--- a/ViewerPlugin/openseadragon.html	Thu May 30 22:11:10 2024 +0200
+++ b/ViewerPlugin/openseadragon.html	Wed Aug 14 15:43:28 2024 +0200
@@ -7,8 +7,8 @@
 
     <!--
 
-        WARNING: OpenSeadragon v4.1.0 can sometimes request regions of
-        negative width. We thus stick to OSD v4.0.0 for the moment.
+        WARNING: OpenSeadragon v4.1.0 can sometimes request regions of negative
+        width or height. We thus stick to OSD v4.0.0 for the moment.
         https://github.com/openseadragon/openseadragon/issues/2379
 
       -->