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

Downloading works in firefox but not in chrome #542

Closed
Apollodore opened this issue Apr 5, 2021 · 9 comments
Closed

Downloading works in firefox but not in chrome #542

Apollodore opened this issue Apr 5, 2021 · 9 comments
Assignees
Labels
new site support The issue is not about a bug is dezoomify, but rather someone asking for a new site to be supported.

Comments

@Apollodore
Copy link

Site name and description

Dear Ophir, Dezoomify supports https://gallica.bnf.fr, but maybe it could be interesting to have dezoomify supporting http://expositions.bnf.fr as well. Thank you for all you do.

Example URLs

http://expositions.bnf.fr/orsay-gustavedore/grand/dor_260.htm

Current error message

Error: Unable to load tile.
Check that your internet connection is working and that you can access this url:
http://expositions.bnf.fr/orsay-gustavedore/images/5ci_nq/dor_260/TileGroup0/4-11-1.jpg
(https://dezoomify.ophir.dev/dezoomify/zoommanager.js:217)

@Apollodore Apollodore added the new site support The issue is not about a bug is dezoomify, but rather someone asking for a new site to be supported. label Apr 5, 2021
@lovasoa
Copy link
Owner

lovasoa commented Apr 5, 2021

Explanation

Chrome tries to fetch the image tiles through HTTPS even when they are explicitly requested through HTTP, and this website doesn't support HTTPS.

Solution

Use firefox instead.
Alternatively, you can configure chrome to do what it's told.


Original message:

Hello,
I can't reproduce your issue. The image downloads just fine. Dezoomify is suggesting that you check that your internet connection is working and that you can access this url:
http://expositions.bnf.fr/orsay-gustavedore/images/5ci_nq/dor_260/TileGroup0/4-11-1.jpg

Did you do that ?

edit: added information with the solution

@lovasoa lovasoa closed this as completed Apr 5, 2021
@lovasoa
Copy link
Owner

lovasoa commented Apr 5, 2021

canvas

@Apollodore
Copy link
Author

Dear Ophir, yes I checked my internet connection is working and I had no problem to access http://expositions.bnf.fr/orsay-gustavedore/images/5ci_nq/dor_260/TileGroup0/4-11-1.jpg
I don't understand but thank you very much!

@lovasoa
Copy link
Owner

lovasoa commented Apr 5, 2021

I think your problem is related to chrome automatically loading image tiles over HTTPS even when explicitly instructed to load them over HTTP. Google introduced this feature in chrome 86 to supposedly "improve security", but in this case, it just breaks loading images from sites that do not support HTTPS.
The best thing to do is just to use another web browser, which will load images over HTTP when it is told to do so. For instance, you can use firefox

@lovasoa
Copy link
Owner

lovasoa commented Apr 5, 2021

Alternatively, you can manually add dezoomify to the list of HTTPS sites authorized to load HTTP content in chrome://settings/content/insecureContent

image

@lovasoa
Copy link
Owner

lovasoa commented Apr 5, 2021

You can also contact the BNF to warn them that their website is insecure and doesn't guarantee the privacy of their users. They should upgrade to HTTPS.

@Apollodore
Copy link
Author

Thank you Ophir to take the time to investigate. I did use firefox (87.0 64 bits) but maybe there is now the same feature in firefox... Anyway, I added dezoomify to the list of HTTPS sites authorized to load HTTP in chrome as you have shown me, and it now it works fine, thank you very much !

@Apollodore
Copy link
Author

Great, I didn't notice this FAQ, thank you again.

@lovasoa lovasoa changed the title [new site support] expositions.bnf.fr Downloading works in firefox but not in chrome May 7, 2021
@lovasoa lovasoa pinned this issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new site support The issue is not about a bug is dezoomify, but rather someone asking for a new site to be supported.
Projects
None yet
Development

No branches or pull requests

2 participants