Problem with images not being displayed

Hello,

I am new to logseq and very impressed with the capabilities. I opened a graph with my existing markdown notes (Craft docs export) and had no issues. But when I reviewed the pages I found that none of the images are being displayed. All images in all pages are displayed like the following:

I reviewed the image format in the markdown documents and it is the same format as libseq. I opened one of the exported markdown documents in pycharm and all images were rendered.

Using logseq version 0.9.10 on MacOS.

Any ideas on what could be the issue? Thanks in advance.

Images will only render if they are in the assets folder.

Which is the folder Logseq will make the moment you add assets to your graph. (Using /asset I believe it is)

Thank you.

I have also found that if absolute paths are used then images will render. Obviously the issue with this is that it will break if you switch between PCs (/home/joe vs C:\Users\joe vs /Users/joe) and mobile.

Unfortunately relative paths using the loges root do not work.

1 Like

Is there a way to enable images inside the pages/ folder?
This is quite annoying to me, since it’s the normal way Markdown should behave and sometime it’s nice to have the attachments together with the notes.

The quick answer is no, unless you use complete paths. See previous posts.
The problem is not the markdown, the problem is the relative path rendering Logseq does. (Or rather doesn’t)

1 Like

Coming back to this issue, which has just stung me:

  • I started out using logseq in OneDrive and had no problems with displaying image assets (they are correctly located in the /assets folder)
  • I ‘saw the light’ and moved to logseq sync. To reduce sync issues with OneDrive, I moved my logseq folder to my local Documents folder on a Windows laptop.
  • Now I can no longer view image assets in logseq, but PDF assets are no problem

How do I resolve this? I started using logseq because of its ease of handling not just text but also assets, and I feel like I’m doing the ‘right’ thing by syncing outside of OneDrive, but this image display issue is vexing.

I just ran into this issue when I moved my graph. What worked for me was going in and unlinking the graph from Logseq via the “All graphs” list, and then re-adding the new directory.

Thanks for suggesting this. Unfortunately my images still show as “Image not found” after removing and re-adding the graph in the way you suggested.

I’m primarily using Windows 11 and my logseq folder is under my user’s Documents folder.

Moving my graph folder to the root level of my C: drive has worked, though.

Maybe I’ll move it back into my OneDrive folder :frowning: