Images and other external resources

's Avatar


11 Aug, 2014 03:14 PM

Hi there,

I tried updating to Marked 2 recently and have had problems with loading external resources. The links paths are correct. If I downgrade to Marked, the files work again.

  1. Support Staff 1 Posted by Brett on 11 Aug, 2014 03:26 PM

    Brett's Avatar

    The new version is sandboxed. You need to make sure you grant permission
    to access external resources when it requests them.


  2. 2 Posted by Eric on 11 Aug, 2014 03:43 PM

    Eric's Avatar

    I'm sorry. How do I grant permissions? I'm on OSX, if that makes any difference.

  3. Support Staff 3 Posted by Brett on 11 Aug, 2014 04:01 PM

    Brett's Avatar

    When you load a document, it will look for externally referenced images.
    If it finds some and doesn't have a bookmark with previous permissions,
    it should pop up a file open dialog that requests that you grant it
    permission. Are you not seeing any such dialogs? If not, what version of
    OS X are you running?

  4. 4 Posted by Brad on 12 Aug, 2014 09:29 AM

    Brad's Avatar

    I'm seeing the same thing. Just downloaded Marked 2 today (v 2.3.4 (844)) and my 'file:' links show up as image placeholders. For instance, I have

     [Foobar]: file:///Users/bhowes/Dropbox/Write/Foo%20bar.png

    but I don't see the image there. This does render correctly in Write for Mac.

    Also, I did not get asked for permissions.

  5. 5 Posted by Aleksi on 12 Aug, 2014 11:19 AM

    Aleksi's Avatar

    I have actually same problem. I am running free time limited trial and I try to make this work with Scrivener.

    I made a scrivener project (which does not include spaces in any folders or filenames, I use underscores) and tried to import my images to Marked but without success.

    I have tried ../images/image.jpg, images/image.jpg and image.jpg styles and surely copied that image.jpg to all those three locations to see if any works but sadly none works.

    Application asked me to give permissions and I gave permissions but still no success. If I export my scrivener writing to Markdown and then open that in Marked it works well with images and also it asks permissions. When using Scrivener project it does not seem to ask permissions to different paths.

  6. 6 Posted by Eric on 12 Aug, 2014 12:26 PM

    Eric's Avatar

    I'm running OSX 10.9.4
    And I'm loading the file from the command prompt ( `open -a Marked\ 2` ), but I get no dialog.

  7. Support Staff 7 Posted by Brett on 12 Aug, 2014 01:03 PM

    Brett's Avatar

    There seems to be a bug in checking permissions on "file://" links. If
    you remove the protocol (file://) and just use an absolute path, it will
    work. I'll dig into that bug, though.

  8. Support Staff 8 Posted by Brett on 12 Aug, 2014 01:04 PM

    Brett's Avatar

    Aleksi, where is your image located in relation to the .scriv file?

  9. 9 Posted by Aleksi on 12 Aug, 2014 01:19 PM

    Aleksi's Avatar

    My file and folder structure was this:
    - images/

    Images was under images/ and I tried to refer them with image/image.jpg way. Because that did not work, I tried other variants like ../images/image.jpg and image.jpg (and copied that image.jpg to same folder than scrivener file, also copied it under images folder) but none of those ways seem to work.

    Hopefully you can manage to fix it so I can test if that app would be good for my usage cases! :)

  10. 10 Posted by Eric on 12 Aug, 2014 01:23 PM

    Eric's Avatar

    Thanks Brett, I tried using an absolute path and it indeed works, but won't really work for my particular needs. I'll stick with version 1 of the app, until it's resolved. I love the software though. Keep it up!

  11. Support Staff 11 Posted by Brett on 12 Aug, 2014 01:50 PM

    Brett's Avatar

    Ok, something is wrong in that it's not detecting and requesting
    permissions for that directory. As a temporary fix, drag the "images"
    folder directly onto Marked. You'll get a "Readable File Type" error,
    but close that window and then reload your Scrivener preview.

    The images should be referenced relative to the Scrivener document, so
    your use of "images/image.jpg" is correct based on the structure you


  12. 12 Posted by Marshall on 07 May, 2017 08:44 PM

    Marshall's Avatar

    Hi - I'm having this same problem with local paths (in the same folder as my .scriv document): Marked can't find images with local path names, e.g. neither of these work:
        [logo]: images/ilogo.jpg
        [logo]: ilogo.jpg
    but absolute paths do work:
        [logo]: /Users/mclemens/Dropbox/Apps/Scrivener/images/ilogo.jpg

    I tired dragging various folders onto Marked, as suggested. I have also set Preferences -> Advanced –> Update Permission to access my whole disk. But no luck.

    Any suggestions?

    MacOS 10.12.4
    Marked 2.5.10

  13. Support Staff 13 Posted by Brett on 08 May, 2017 06:29 PM

    Brett's Avatar

    With Scrivener projects, the Markdown version for Marked is rendered to
    a file stored in the container Marked's application support directory.
    Because it's in a completely different location than the actual
    Scrivener project, relative paths don't work. Using absolute paths fixes
    it, but Marked can also extract embedded images from Scrivener, so you
    can just drag the image into your project and it will show up in both
    the Marked preview and the Scrivener editor.


  14. 14 Posted by Marshall on 08 May, 2017 10:02 PM

    Marshall's Avatar

    Hi Brett - thanks for the quick reply. So where is the preview markdown from Scrivener stored ? (I didn't see anything in any of my Marked application support folders).

    Also, your description seems to contradict the support page:
    "Images can be inserted in a document using standard Markdown syntax, with any relative urls referencing the folder containing the Scrivener document (images saved alongside the document, or in a subfolder referenced like ![](subfolder/image.png)"

    As well as these instructions:
    which I realize are for the older version of Marked, so perhaps don't apply anymore.

  15. Support Staff 15 Posted by Brett on 09 May, 2017 04:35 PM

    Brett's Avatar

    That's a good point, I'll have to dig back in and see why that changed.
    I'm willing to bet that my routines for normalizing relative paths in
    the last update failed to compensate for the Scrivener differences.

    As far as the render location, it's buried in a folder called
    "Watchers". If you right click on a broken image in the preview and
    choose "Inspect Element" it will show you the path where it's looking,
    which will begin with the location of the main file.


  16. 16 Posted by Marshall on 09 May, 2017 05:01 PM

    Marshall's Avatar

    Ah ha - that's where the render file is, thanks.

    BTW - Marked is a fantastic app that has vastly improved my workflow. And if relative paths from Scrivener did work, it would make things like HTML –> website transfer even better.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

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


? 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