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

Safari - Some thumbnails not rendering #569

Open
ewlarson opened this issue Jan 12, 2024 · 6 comments
Open

Safari - Some thumbnails not rendering #569

ewlarson opened this issue Jan 12, 2024 · 6 comments
Assignees
Labels
Images thumbnails, static display, SVG, IIIF safari bug status:icebox For issues that can remain open but cannot be addressed right now type:bug

Comments

@ewlarson
Copy link
Contributor

https://geo.btaa.org/?f%5Bdct_isPartOf_sm%5D%5B%5D=12d-04&per_page=10

Safari

Screenshot 2024-01-12 at 10 15 21 AM

Chrome / Firefox

Screenshot 2024-01-12 at 10 16 09 AM

@ewlarson
Copy link
Contributor Author

More info here. Appears Safari is rejecting the original image too:
https://isac-idb-static.uchicago.edu/multimedia/3001247/1014604_APCS_Arabian_Sea_AP-20_3rd_Edition_1951_preview.1920x1200.jpg

That URL will display an image in Chrome, but in Safari it will be blank.

@ewlarson ewlarson moved this to In Progress in 2024 Development Jan 12, 2024
@mberkowski
Copy link
Member

@ewlarson Safari rejects this image outright from its original URL, or is it rejected if called via XHR or dynamically loaded?

@ewlarson
Copy link
Contributor Author

Rejecting is the wrong word here... I don't know quite how to phrase it. Safari is receiving (response) and loading (there are bytes here) a JPEG it just does not render — preview is just an empty/blank canvas.

Screenshot 2024-01-12 at 1 32 55 PM

@ewlarson
Copy link
Contributor Author

Our thumbnail image in the Geoportal is really just a cropped variant of that original from U of Chicago... I don't know that there is anything here for us to resolve. We should pass this issue back to U of Chicago for their tech staff to troubleshoot.

@ewlarson
Copy link
Contributor Author

ewlarson commented Jan 12, 2024

One other thing! @njvack suggested if we run these JPEGs thru an image optimization tool (like Kraken), it might just fix them and that does indeed seem to fix the example from above.

Original (Does not load in Safari)

https://isac-idb-static.uchicago.edu/multimedia/3001247/1014604_APCS_Arabian_Sea_AP-20_3rd_Edition_1951_preview.1920x1200.jpg

1014604_APCS_Arabian_Sea_AP-20_3rd_Edition_1951_preview 1920x1200

Kraken'd (Does load in Safari)

https://dl.kraken.io/web/80de08dfcda5c0dd9a04278115f0e3ae/1014604_APCS_Arabian_Sea_AP-20_3rd_Edition_1951_preview.1920x1200.jpg

1014604_APCS_Arabian_Sea_AP-20_3rd_Edition_1951_preview 1920x1200 (1)

@njvack
Copy link

njvack commented Jan 12, 2024

Yeah, jpeginfo suggests that the originals are Fancy Jpegs. It's super weird that Safari won't render them — they show up fine with quicklook and Preview and hey I would have expected those tools to use the same image libraries as Safari but ¯_(ツ)_/¯

@karenmajewicz karenmajewicz moved this from In Progress to In review in 2024 Development Feb 26, 2024
@karenmajewicz karenmajewicz added the status:icebox For issues that can remain open but cannot be addressed right now label Feb 26, 2024
@karenmajewicz karenmajewicz added the Images thumbnails, static display, SVG, IIIF label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Images thumbnails, static display, SVG, IIIF safari bug status:icebox For issues that can remain open but cannot be addressed right now type:bug
Projects
None yet
Development

No branches or pull requests

4 participants