From e4987f9701a1e822c673a6b0c45bfd0f1f3ba342 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Thu, 14 Mar 2019 16:10:28 +0100 Subject: [PATCH] fix too agressive canonicalization --- src/iiiftilesource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js index fee31f68..df1d0154 100644 --- a/src/iiiftilesource.js +++ b/src/iiiftilesource.js @@ -365,7 +365,7 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea iiifQuality = "default." + this.usedFormat; } if ( levelWidth < tileWidth && levelHeight < tileHeight ){ - if (isv1) { + if ( isv1 || levelWidth != this.width ) { iiifSize = levelWidth + ","; } else { iiifSize = "max";