diff --git a/dist/iwmlib.js b/dist/iwmlib.js index bf9abd5..27e86a1 100644 --- a/dist/iwmlib.js +++ b/dist/iwmlib.js @@ -4898,11 +4898,13 @@ //console.log("iconSrc", iconSrc) if (iconSrc.endsWith('index.png')) { icon.src = iconSrc.replace('index.png', 'thumbnail.png'); - } else if (iconSrc.endsWith('test.png')) { - icon.src = iconSrc.replace('test.png', 'thumbnail.test.png'); - } else { + } + else { icon.src = 'thumbnails/' + iconSrc; } + + // icon.src = 'thumbnails/' + iconSrc + // console.log(iconSrc) wrapper.href = src; let titleDiv = wrapper.querySelector('.title'); titleDiv.innerText = title; diff --git a/lib/index.js b/lib/index.js index fdef5b4..df1011d 100755 --- a/lib/index.js +++ b/lib/index.js @@ -30,11 +30,13 @@ export default class Index { //console.log("iconSrc", iconSrc) if (iconSrc.endsWith('index.png')) { icon.src = iconSrc.replace('index.png', 'thumbnail.png') - } else if (iconSrc.endsWith('test.png')) { - icon.src = iconSrc.replace('test.png', 'thumbnail.test.png') - } else { + } + else { icon.src = 'thumbnails/' + iconSrc } + + // icon.src = 'thumbnails/' + iconSrc + // console.log(iconSrc) wrapper.href = src let titleDiv = wrapper.querySelector('.title') titleDiv.innerText = title diff --git a/lib/pixi/deepzoom/index.html b/lib/pixi/deepzoom/index.html index c8a9b52..bb4f524 100644 --- a/lib/pixi/deepzoom/index.html +++ b/lib/pixi/deepzoom/index.html @@ -22,8 +22,9 @@ -
-
+
+ IWM +