typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Image still not shown in mobile even with relative path

Open allpan3 opened this issue 6 years ago • 2 comments

My .md files are in iCloud. I have used relative path for images and they are inside iCloud as well, but I'm still not able to render any of the images on iOS. I have tried Pretext and MDNotes.

Code

## TEST
![image](image1.png)
<img src="Test.assets/image2.png" alt="image2" style="zoom:33%;" />

Filesystem

image

In MDNotes app

IMG_0329 The two "images" you see are just the alt or the image name.

This seems like a super common problem that other people could have encountered, yet I failed to find a relevant issue. In this comment @abnerlee has mentioned about data sync. I did exactly the same but still cannot see the images.

Is this something related to iCloud?

allpan3 avatar Aug 06 '20 07:08 allpan3

What about ![image](./image1.png)

And could you confirm if Pretext and MDNotes supports relative image or not, or how to embed local images in their renders?

abnerlee avatar Aug 06 '20 13:08 abnerlee

Not quite sure what you meant, as this is what I see. image

But for the test example I showed, both images were not found. Those "image-like" icons you see are just the name of the image, not the actual image.

I have also tried MWeb, same thing happened. Not able to find detailed docs for the apps.

But my guess is, whenever opening a file from an external folder (meaning not a built-in storage space for the app), such as a md file in iCloud, the iOS apps are only able to see that file itself, not the entire directory.

image

You see how the images are grayed out, and you are only able to open a file, not the entire folder.

I was assuming storing everything in the cloud would make syncing work seamlessly because on your website it's not mentioned. Surprised that nobody has brought this up. How does everyone else store the images while supporting viewing notes on mobile devices?

allpan3 avatar Aug 07 '20 00:08 allpan3