diff --git a/_includes/osd_iiif_image_viewer.html b/_includes/osd_iiif_image_viewer.html index efa101b6e..d874e5270 100644 --- a/_includes/osd_iiif_image_viewer.html +++ b/_includes/osd_iiif_image_viewer.html @@ -5,6 +5,8 @@ $(document).ready(function () { var manifestUrl = "{{ include.manifest | absolute_url }}"; $.getJSON(manifestUrl, function(data) { + $('.item-view').style("display", "none"); + $('.item-view .osd-browser').style("display", "inline"); var tileSources = []; $.each(data.sequences[0].canvases, function(k, val) { tileSources.push(val.images[0].resource.service['@id'] + '/info.json'); @@ -16,7 +18,7 @@ tileSources: tileSources, homeFillsViewer: false, showReferenceStrip: true - }); + }) }); }); diff --git a/_layouts/generic_collection_item.html b/_layouts/generic_collection_item.html index dea00c478..fadeaf80b 100644 --- a/_layouts/generic_collection_item.html +++ b/_layouts/generic_collection_item.html @@ -15,15 +15,18 @@

{{ page.label }}

{% endif %} {% if viewer %} -
+
- {% if viewer == 'openseadragon' %} - {% include osd_iiif_image_viewer.html manifest=page.manifest prevlink=prevlink nextlink=nextlink %} - {% else %} {% include simple_image_viewer.html full_image=page.full prevlink=prevlink nextlink=nextlink %} - {% endif %}
+ {% if viewer == 'openseadragon' %} + + {% endif %} {% unless layout.pagination == false %}{% include item_pagination.html %}{% endunless %} {% endif %}