Remove URL from Mirador single-item view
jcreel opened this issue · comments
Look for solutions in tamu-mirador configuration or in the structure of the generated IIIF Manifest.
Text from customer:
The URL, and perhaps the 1 of 1, should be removed from the Mirador image viewer. This is taking up too much landscape and the link is ugly. The project tamu-mirador should be investigated to determine if a configuration may be found within.
Could test Mirador here: https://demos.library.tamu.edu/mirador/
Could feed it manifests such as: https://api.library.tamu.edu/iiif-service/fedora/presentation/3b/6f/c3/25/3b6fc325-f6ca-41d8-b91e-8c5db3be8c13/time_of_resolve_objects/93
Here is an example where the footer has something more than 1 of 1 and also has a much shorter file name.
Notice that there is a ?page=1
.
If you click next a few times, you can see that some of these documents have multiple pages.
Examples:
1 of 39 • 18024pg02.jpg?page=1
2 of 39 • 11024pg08.tif?page=1
3 of 39 • 1GFolio024.pdf?page=1
4 of 39 • 1GFolio024.pdf?page=2
5 of 39 • 1GFolio024.pdf?page=3
Mirador upstream Issue:
The comment (ProjectMirador/mirador#3362 (comment)):
Automatically hide the paging controls when we know there is only one canvas associated with the object and the controls provide no value to the user.
Investigation shows that there are accessibility reasons for having the "osd-info" area that is being asked to be suppressed.
see: ProjectMirador/mirador#3107
see: ProjectMirador/mirador#3123
If we find a way to disable this, then we might lost this accessibility functionality.
I would suggest using CSS to hide the OSD Info region (something like: .mirador-window .mirador-primary-window .mirador-osd-container
).