diff --git a/common/PathdbMods.js b/common/PathdbMods.js index 62a23d35e..798c51803 100644 --- a/common/PathdbMods.js +++ b/common/PathdbMods.js @@ -51,7 +51,7 @@ function PathDbMods() { if (data.field_iip_path && data.field_iip_path.length >= 1) { x.location = data.field_iip_path[0].value; //x.location = "pathdb*" + pathdbid; - x.url = "../../img/IIP/raw/?DeepZoom=pathdb*" + pathdbid + ".dzi"; + x.url = "../../img/IIP/raw/?DeepZoom=" + x.location + ".dzi"; } else { throw "no iip path in pathdb data" }