Relative linked images

Relative linked images seems very flaky. If I have images in a folder next to the md document and just type ![](imgs/an-image.png) the preview shows a broken image. But if I then drag that image into the document anywhere, and then delete the resulting file path text the previous relative link works.

  1. I assume you're using the App Store version, not the non-sandboxed version.

    Apple sandboxes applications, meaning that Composer can't access files it wasn't given permission to access. You have to give Composer access to that image, which happens in 1 of 2 ways:

    1) You open the image with Composer (which you do when you drag and drop)

    2) Composer has to ask you for permission -- which it does when you open a file *if* there are any images/css/etc to ask about.

    If you type an image URL, then it wasn't there when the document was opened. So there was nothing to ask about at the time. So it doesn't have permission

    You have three options:

    1) Drag and drop images all the time, then it's a non-issue

    2) After typing URLs for local images, close and reopen the file and composer will rescan and ask for permission if necessary.

    3) Download the non-sandboxed version from the web site and permission is a non-issue (this disables iCloud access, however)

    (BTW --- Composer gets permission based on folders, not files. So once it gets permission for a "big" folder, e.g. your home directory, it doesn't have to ask again for anything inside that folder. It's up to you whether giving Composer broad access is better than the annoyance of sandboxing.)

    Fletcher

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

  2. I don't know if this is related with the same problem, but when export a document as ePub, the resulting file loses all the images. This is a BIG issue for me. Probably I'm doing something wrong… but I can find how to solve this.

    As you can see in the screenshots, MMD correctly shows the image in the preview… but when exported as ePUB and loaded within iBooks… the document loses the reference to the included image.

    Any advice? (I'm using the MAS version and gave permission to access the folder containing the images).

    Thank you,

    Javier

  3. Try moving the images into the same folder as the MMD document itself, rather than a subdirectory.

    FTP

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions