Brett on 11 Aug, 2014 04:01 PM
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?
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.
My file and folder structure was this:
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! :)
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!
Brett on 12 Aug, 2014 01:50 PM
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
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:
but absolute paths do work:
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.
Brett on 08 May, 2017 06:29 PM
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.
Brett on 09 May, 2017 04:35 PM
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.