silverbulletmd / silverbullet-pub

Publish your Silver Bullet space to the Internet
https://pub.silverbullet.md
7 stars 2 forks source link

Bug: Images don't get published with notes #8

Open KoiledLobster opened 3 months ago

KoiledLobster commented 3 months ago

When adding an image to a note and publishing it with this plug, the image reference links to /{image-name-here} - the image itself does not get copied to the output, and therefore the link fails.

Ideally, the image would get copied and the url updated to refer to the final path.

Nice-to-have would be to rename the image to a SHA hash of its contents, to effectively dedupe and cache break them.

zeus-web commented 1 day ago

I face the same problem. Without image handling (and/or other attachments) the export/publish is only half as useful as it could be :-(