Images not displaying correctly in Joplin on cell phone(Xiaomi 15)

Operating system

Android

Joplin version

3.5.8

Sync target

WebDAV

Editor

Markdown Editor

What issue do you have?

Hi everyone,

I’ve been using Joplin on my Android phone (Xiaomi 15) for a long time without any issues, but recently I ran into a problem with image display.

What used to work normally:
When I inserted an image into a note, Joplin would automatically generate a link like ![filename](:/some_string) and the image would be displayed correctly within the note.

What happens now:
The inserted image appears as [some_number](:/some_string) instead (no exclamation mark). The note does not automatically show the image.

If I manually add the ! to make it ![some_number](:/some_string), the note then shows a broken image icon (failed to load).

I have screenshots to illustrate the difference.The first picture is the editor, first line is the image I insert before. I copied it from another notebook. It displaying correctly. The second line is I inserted today. In the third line I add a "!" at head. In the second picture you can see olny first line display corectlly. The third picture is what I see when I inserted a file into notebook.

My device:

· Xiaomi 15
· System version: OS 3.0.301.0 (Android)

What I’ve tried:
To rule out a system-level issue, I installed Evernote on the same phone and tested image insertion – it worked perfectly. So the problem seems specific to Joplin.

Has anyone else experienced this? Any idea what might be causing the change in the link format and how to fix it? Thank you in advance for your help!

Screenshots


I have the same problem, and it seems to happen recently.

1 Like

Hello,is your cell phone Xiaomi and upgrade operator system recently?
您好,请问您的手机是小米手机并且最近更新过手机系统吗?我的更新以后就出现这个问题了。

Update:I found there is a new version Android joplin(3.6.16). I uninstall the joplin using "adb uninstall -k" to keep the datas, then I install the new version of joplin on my phone. The problem still appeared.

You said in Chinese that you encountered the problem after updating the operating system? If that’s the case then maybe that caused the issue. You could try creating a new profile in Joplin and syncing from scratch, as the OS update potentially deleted or corrupted some files

Is it possible that these are orphaned resources (i.e. the joplin resource referenced in the image embed no longer exists)?

for example for the image that isn't rendering in the viewer, if you tap on the attachment link does it open the image?

Thanks for your help. Yes, it happended after I uograde the operator system. I will try your method. I have many notes(46GB in my service), so maybe it will take many time.

Thank you. I can open the viewer of files when I taped the attach button and selected files. When I chose a file(not only image files, any files, such as a pdf file), it can be added into the joplin notebook. What differece is Joplin cannot get the filename automotively, instandly, it use a number(I think the number is the file size in KB). I can share the file to my file manager and change the filename, add the .jpg to the filename, I can open the image.

Oh wow 46gb is very big. Do you use E2E encryption? If you do, you might want to hold off syncing everything again for now, as there is a bug with encryptipn on Android which is pending a fix, that could require some messy cleanup if it happens. See https://github.com/laurent22/joplin/issues/14975#issuecomment-4246731347

Also, if you create a new profile, you cannot delete the default profile on mobile, so you wont be able to free up the 46gb fo the original profile.

Thank you. I'm not using E2E encryption now. I have used it before, but I got trouble so I stopped it. I have use Joplin some years and have about 5 thousand notes, many of them contain images or other files. It took me half a month to recover the notes from my service last time.

Ok, it should be safe for you to uninstall the app and resync eveything then. But I expect that is going to take a long time. You don't have that many notes though, so maybe you can consider using the attachment download mode which will download when you open the note instead of downloading everything when you sync.