publish-org-roam-ui
publish-org-roam-ui copied to clipboard
Disappearing Images: Not allowed to load local resource
After one of the recent pushes, I realized that the images in the org-mode's were not displaying properly. After opening the browser console, the following error is reported:
Not allowed to load local resource: file:///img/2024-04-11_08-19-52_screenshot.png
The link corresponding to this image looks like this in org-mode:
[[file:img/2024-04-11_08-19-52_screenshot.png]]
I'm guessing it's because of the file:
words in the link. Because when I change the link to the following form, it displays the image properly:
[[img/2024-04-11_08-19-52_screenshot.png]]
But since I utilize org-download to download images, my links to images are basically in the form of [[file:xxxx]]
.
Do you have any idea how to make the link with the word file
work, as it did before. The link I'm testing with is this one. By the way, your URL function works really well!
It doesn't matter if for some reason the fix doesn't work, I can replace all links without file
and set org-download to not use file
. Thanks for your continued development of this project!