-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{{ site.description }} | ||
|
||
### IIIF Images: | ||
<script src="{{ '/plugins/js/image.js' | absolute_url }}" ></script> | ||
|
||
<script | ||
src="https://code.jquery.com/jquery-3.5.1.min.js" | ||
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" | ||
crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="plugins/justified/justifiedGallery.min.css" /> | ||
<script src="plugins/justified/jquery.justifiedGallery.min.js"></script> | ||
|
||
<script> | ||
{% assign files = site.static_files | where_exp: "image", "image.path contains '/images/'" |where_exp: "image", "image.path contains '/info.json'" %} | ||
{% for img_file in files %} | ||
addToGallery('gallery', '{{img_file.path | absolute_url}}', 300,300); | ||
{% endfor %} | ||
</script> | ||
<div id="gallery"> | ||
</div> | ||
|
||
<script> | ||
$("#gallery").justifiedGallery({ | ||
rowHeight: 300 | ||
}); | ||
</script> | ||
|
||
|
||
### Manifests: | ||
{% assign manifests = site.static_files | where_exp: "manifest", "manifest.path contains '/manifests/'" |where_exp: "manifest", "manifest.extname == '.json'" | where_exp: "manifest", "manifest.path != '/manifests/collection.json' " %} | ||
|
||
{% for file in manifests %} | ||
* [{{ file.path | replace: "/manifests/", ""}}]({{ file.path | absolute_url }}) | ||
* [View in Mirador](https://projectmirador.org/embed/?iiif-content={{ file.path | absolute_url}}) | ||
* [View in UV](http://universalviewer.io/examples/#?c=&m=&s=&cv=&manifest={{ file.path | absolute_url}}) | ||
{% endfor %} | ||
|
||
### Annotations | ||
|
||
{% assign annotations = site.static_files | where_exp: "annotation", "annotation.path contains '/annotations/'" |where_exp: "annotation", "annotation.extname == '.json'" | where_exp: "annotation", "annotation.path != '/annotations/collection.json'" %} | ||
|
||
{% for file in annotations %} | ||
* [{{ file.path | replace: "/annotations/", ""}}]({{ file.path | absolute_url }}) | ||
* [View in Annona](plugins/annona/?iiif-content={{ file.path | absolute_url }}) | ||
{% endfor %} |