Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IIIF Curation Viewer #535

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

glenrobson
Copy link
Member

Moving pull request #534 to this repo so the preview builds.

"On August 27, 2024, we released a new version of the “IIIF Curation Platform” (including the “IIIF Curation Viewer”) to support IIIF Presentation API 3.0. This pull request is to reflect the viewer’s compatibility status.
http://codh.rois.ac.jp/icp/prezi-3/"

@glenrobson
Copy link
Member Author

@2SC1815J we had the following questions while reviewing the recipe support:

regarding:

Regarding:

  • 🔗 0007 string-formats
  • How can you see the summary? Description shows the label
  • Attribution isn't correctly showing the HTML specifically the image tags.

Regarding:

  • 🔗 0008 rights
  • Same issue as above with the image not showing. We would mark this as partial support because it does support the rights information.

Regarding:

  • 🔗 0010 book-2-viewing-direction
  • If you navigate by the << icons at the top when you press left you get a different image than when you click the left navigation on the image.
  • Note partial support because this recipe also includes top to bottom navigation.

Regarding:

@2SC1815J
Copy link
Member

@glenrobson Thank you very much for the review.
We would like to add some additional information below.

Currently, the IIIF Curation Viewer only provides English and Japanese as UI languages.
Based on recipe 0006, I have created a manifest with English, French, and Japanese values.
You can see the display of English or Japanese values as follows.
English values displayed in the IIIF Curation Viewer
Japanese values displayed in the IIIF Curation Viewer

There was a bug in the handling of "summary." Now, "summary" is displayed from the description menu item.
Referring to the specification ("Clients should allow only a, b, br, i, img, p, small, span, sub and sup tags. Clients may choose to remove any and all tags"), the IIIF Curation Viewer only allows a, b, br, i, p, and span tags as HTML markup, and does not allow img tags.

Same as above, the img tag is not allowed in the IIIF Curation Viewer.

The "«" button on the toolbar always moves in the "prev" direction, regardless of the "viewingDirection" setting.
On the other hand, the "<" button on the left edge of the image will move you to turn the page in that direction. That is, if the "viewingDirection" setting is "left-to-right," it moves in the "prev" direction, and if it is "right-to-left," it moves in the "next" direction.
It is the intended behavior.

To view the Canvas information, click the third button (link icon) from the right on the toolbar.

@glenrobson
Copy link
Member Author

glenrobson commented Sep 6, 2024

Regarding:

  • 🔗 0006 text-language
    I'm afraid we can't add the Curation Viewer to this recipe unless it supports accessing and displaying all language labels and values as this is the main focus of the recipe. For information you don't need to translate the interface language of the curation viewer to support French but there has to be a way for the user to select and see the French metadata for this recipe to be supported.

  • 🔗 0007 string-formats

  • 🔗 0008 rights

We appreciate your point and are happy to approve this supports the recipe. A potential UX improvement is to strip the image tag completely but this doesn't affect the recipe support. (Thanks for fixing the Summary)

Thank you for clarifying. We accept this recipe is partially supported (due to the top-bottom not being supported) . Note we notice the same behaviour is shown in the book recipe which doesn't have the right to left behaviour.

We had another question, should the thumbnails in the thumbnail preview be reveresed?

Thank you. We agree this is supported.

@2SC1815J
Copy link
Member

2SC1815J commented Sep 7, 2024

@glenrobson Thank you for the re-review.

The IIIF Curation Viewer now supports displaying any language labels and values via the GET parameter "lang."
Interface language is provided in English when the GET parameter "lang" value is other than "ja."
English labels and values displayed in the IIIF Curation Viewer
French labels and values displayed in the IIIF Curation Viewer

By the way, if the IIIF manifest contains Japanese labels and values, the Universal Viewer does not seem to be able to display those labels and values (Japanese cannot be selected from Setting, and adding "&locales=ja-JP" to the viewer's URI does not work).
Display of the manifest containing Japanese labels and values in the UV

The UV is listed as supporting recipe 0006. Does "supporting recipe 0006" mean that displaying all language labels and values listed in any given manifest is not required, but is it sufficient to display all language labels and values listed in the manifest of recipe 0006?

Thanks for the suggestion. We will consider it in a future version.

We understand and agree that IIIF Curation Viewer will be listed as "partially supported" in this recipe.

When we first released the IIIF Curation Viewer in 2014, many IIIF manifests published by institutions in Japan did not include a "viewingDirection" description, even though they were right-to-left documents. Since the IIIF Curation Viewer is mainly used in Japan, the viewer behavior without the "viewingDirection" description is to move from right to left. Thus, the manifest of 0009 book-1 without a "viewingDirection" will be displayed as a right-to-left document in the IIIF Curation Viewer. Though this viewer behavior differs from the IIIF Presentation API specification, which defines left-to-right as the default, please understand it is because this viewer is mainly used in East Asian cultures.

In the ten years of providing the IIIF Curation Viewer in Japan, I do not recall any particular problems with the order of the thumbnails. Even in Japan, most document computer interfaces are displayed from left to right. So, it is not a strange feeling if thumbnails of right-to-left documents are displayed in left-to-right order (each row of thumbnails in top-to-bottom order) on a separate screen from the main image as in the IIIF Curation Viewer.

It would be confusing if clicking on the left or right edge of the main image does not move the page in that direction or if the thumbnails are shown in a single line from left to right just below the main image for right-to-left documents. Also, suppose thumbnails are displayed on a separate screen from the main image in right-to-left order (each row of thumbnails in top-to-bottom order). In that case, I think such displays would confuse because they are unfamiliar.

Thank you for the confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants