-
Notifications
You must be signed in to change notification settings - Fork 8
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
Images not showing when IPFS Companion is activated in Firefox #20
Comments
@SmaugPool is it possible to get code snippet responsible for lazy-loading images from IPFS gateway, or the name of the library you use? See ipfs/ipfs-companion#1032 (comment) |
Sorry @lidel I missed your question all this long. There is no specific library used, it's some custom Elm code. Note that the problem does not occur anymore on pool.pm/tokens or wallet pages, likely because the way images are loaded has changed, but it can still be reproduced on specific asset pages. For example this random one: https://pool.pm/asset10j5esgthve8k8axyx2krjhe749r9h9547rrpxf How does the companion work by the way? Pool.pm does not use ipfs:// URLs so why would the companion try to change them? |
@SmaugPool when you open https://pool.pm/asset10j5esgthve8k8axyx2krjhe749r9h9547rrpxf
In the last case, image loads gets blocked by CSP your website has set:
The quick fix you can do is to update your A proper upstream fix is to update ipfs-companion to not redirect when CSP header is present and does not allow loading image– I've filled ipfs/ipfs-companion#1241 for that. |
Thank you very much @lidel, I added |
When the IPFS Companion plug-in is installed and active in Firefox. The IPFS images do not show on pool.pm. After disabling the plugin, the images do appear. I've reported this behavior with IPFS as well. Not sure if the plugin or the website is ultimately responsible for the behavior.
The text was updated successfully, but these errors were encountered: