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

Image upload broken in online mode #1269

Open
nachbelichtet opened this issue Feb 28, 2025 · 2 comments
Open

Image upload broken in online mode #1269

nachbelichtet opened this issue Feb 28, 2025 · 2 comments
Labels
bug Something isn't working help wanted If you're willing to help, do!

Comments

@nachbelichtet
Copy link

Hi!

First of all: thank you for your efforts regarding Silverbullet - it looks very promising, after trying myriads of outer note taking solutions.

However, I have problems uploading images (both on my Docker installation v 0.10.4 and on play.silverbullet.md): When you upload an image, you are asked for the image name, but after the upload the image is empty or cannot be found. If you upload it in offline mode and then switch to online mode, the image is there.

As I said, this also happens to me on play.silverbullet.md. I've tried different browsers, on smartphone, iPad etc. with the same outcome.

@daydaya
Copy link

daydaya commented Feb 28, 2025

It looks like the issue I encountered is very similar to yours. Inspired by your suggestion, I switched to offline mode, and the images displayed correctly. However, when I switched back to online mode and reset the local cache, the images stopped loading again.

Here is my post on the forum: https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839

@nachbelichtet
Copy link
Author

Okay, it appears that this is just a weird cache problem. When I click on the image link after the upload, I see an empty page. With a forced reload of the page, the images get visible. When I then go back to the page, where the image was initially inserted and do a forced reload of that page, the image gets also visible.

This behavior can be reproduced on play.silverbullet.md as well.

@zefhemel zefhemel added bug Something isn't working help wanted If you're willing to help, do! labels Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted If you're willing to help, do!
Projects
None yet
Development

No branches or pull requests

3 participants