Loading plugins/img_viewer/img_viewer.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ declare variable $max.plugin.img_viewer:IMG_HEIGHT_PARAMETER := "viewerHeight"; declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/{$projectId}/{$path=.+}/{$img}") %rest:path("/editions/{$projectId}/plugins/img_viewer/{$path=.+}/{$img}") function max.plugin.img_viewer:searchPage($projectId, $path, $img){ let $tileSourcesPath := max.config:getBaseURI() Loading Loading @@ -39,7 +39,7 @@ function max.plugin.img_viewer:searchPage($projectId, $path, $img){ declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/simple_gallery/{$projectId}/{$path=.+}") %rest:path("/editions/{$projectId}/plugins/img_viewer/simple_gallery/{$path=.+}") function max.plugin.img_viewer:simpleGallery($projectId, $path){ let $tileSources := Loading Loading @@ -76,7 +76,7 @@ function max.plugin.img_viewer:simpleGallery($projectId, $path){ declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/single_image/{$projectId}/{$img=.+}") %rest:path("/editions/{$projectId}/plugins/img_viewer/single_image/{$img=.+}") function max.plugin.img_viewer:single_image($projectId, $img){ let $imgPath:= max.config:getBaseURI() ||"/"|| $projectId || "/"|| $img return Loading plugins/img_viewer/img_viewer.xsl +2 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ <xsl:template match="tei:graphic" > <xsl:variable name="href"> <xsl:value-of select="concat($pluginsuri,'/img_viewer/single_image/',$project, '/',$imagesRepository ,@url)"/> <xsl:value-of select="concat($pluginsuri,'/img_viewer/single_image/',$imagesRepository ,@url)"/> </xsl:variable> <xsl:variable name="id"><xsl:value-of select="generate-id(.) "/></xsl:variable> <img class="viewable" id="{$id}"> Loading Loading
plugins/img_viewer/img_viewer.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ declare variable $max.plugin.img_viewer:IMG_HEIGHT_PARAMETER := "viewerHeight"; declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/{$projectId}/{$path=.+}/{$img}") %rest:path("/editions/{$projectId}/plugins/img_viewer/{$path=.+}/{$img}") function max.plugin.img_viewer:searchPage($projectId, $path, $img){ let $tileSourcesPath := max.config:getBaseURI() Loading Loading @@ -39,7 +39,7 @@ function max.plugin.img_viewer:searchPage($projectId, $path, $img){ declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/simple_gallery/{$projectId}/{$path=.+}") %rest:path("/editions/{$projectId}/plugins/img_viewer/simple_gallery/{$path=.+}") function max.plugin.img_viewer:simpleGallery($projectId, $path){ let $tileSources := Loading Loading @@ -76,7 +76,7 @@ function max.plugin.img_viewer:simpleGallery($projectId, $path){ declare %rest:GET %output:method("html") %rest:path("/plugins/img_viewer/single_image/{$projectId}/{$img=.+}") %rest:path("/editions/{$projectId}/plugins/img_viewer/single_image/{$img=.+}") function max.plugin.img_viewer:single_image($projectId, $img){ let $imgPath:= max.config:getBaseURI() ||"/"|| $projectId || "/"|| $img return Loading
plugins/img_viewer/img_viewer.xsl +2 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ <xsl:template match="tei:graphic" > <xsl:variable name="href"> <xsl:value-of select="concat($pluginsuri,'/img_viewer/single_image/',$project, '/',$imagesRepository ,@url)"/> <xsl:value-of select="concat($pluginsuri,'/img_viewer/single_image/',$imagesRepository ,@url)"/> </xsl:variable> <xsl:variable name="id"><xsl:value-of select="generate-id(.) "/></xsl:variable> <img class="viewable" id="{$id}"> Loading