Open zeigerpuppy opened 7 years ago
chromium is returning an error for the image resource:
Not allowed to load local resource: blob:<a href=
I can confirm, image uploads are broken. I'll either fix it, or remove the option to upload in the next release.
I think this may be a change in browser security settings as on old browsers image uploads still work! It looks like browsers have been adjusting their cross-site and local storage settings lately. I'm not sure exactly what the error is but I hope we can retain image uploads!
OK, it looks like the issue is that image blobs are not loading correctly (perhaps as they are called form a different subdomain?).
Here's an example of how Laverna parses an uploaded image
<img src="blob:<a href=" https:="" c70ef9adcf28dc35e0b43f123411d599bss.server.net="" 6cf1f423-cec3-184b-b970-33325cfb39ae"="">
https://c70ef9adcf28dc35e0b43f123411d599bss.server.net/6cf1f423-cec3-184b-b970-33325cfb39ae” alt=”enter image description here” title=”” />
this may be relevant:
When uploading images to Laverna, the uploaded image is not found. A link is created but there is no image at that link.
editor view:
in viewer:
If I try browsing to the URL, I get a page that has the laverna favicon (so it looks like the subdomain is fine) but shows a
404
message as the uploaded file is not found.Is the link being improperly formed?
ps. I have obfuscated some of the link text above to maintain privacy. Also linked images form URLs work fine