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

Embed feature in UV is pointing to /uv.html instead of /viewer #6454

Open
escowles opened this issue Jul 8, 2024 · 2 comments
Open

Embed feature in UV is pointing to /uv.html instead of /viewer #6454

escowles opened this issue Jul 8, 2024 · 2 comments
Labels

Comments

@escowles
Copy link
Member

escowles commented Jul 8, 2024

Bug report from Ben Johnston:

I wonder if I could request a small bug fix in DPUL. I was embedding some IIIF resources in a canvas site and noticed that there seems to be an issue with the IIIF iframe embed code that is made available in the UV viewer in DPUL. It currently points to a file called uv.html which seems to be blank, but it should point to page called 'viewer':

For example, on https://dpul.princeton.edu/cotsen/catalog/37720p047 or any other UV in DPUL, the embed code points to :

https://figgy.princeton.edu/uv.html#?manifest=https://figgy.princeton.edu/concern/scanned_resources/cb91a2fc-541b-4d5d-9f0b-d1e4063f1d41/manifest&c=0&m=0&s=0&cv=0&config=/viewer/config/cb91a2fc-541b-4d5d-9f0b-d1e4063f1d41.json

but I think it should be pointed to:

https://figgy.princeton.edu/viewer#?manifest=https://figgy.princeton.edu/concern/scanned_resources/cb91a2fc-541b-4d5d-9f0b-d1e4063f1d41/manifest&c=0&m=0&s=0&cv=0&config=/viewer/config/cb91a2fc-541b-4d5d-9f0b-d1e4063f1d41.json

@escowles escowles added the bug label Jul 8, 2024
@hackartisan
Copy link
Member

@escowles
Copy link
Member Author

Can we make /uv.html a redirect to (or just routed be to) /viewer so either URL works?

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

No branches or pull requests

2 participants