AW: How do you maintain image source reference on multiple platforms?

Tiemo Hollmann TB toolbook at
Tue Nov 1 18:10:18 CET 2016

Once you make it right, it's so easy. Without a starting slash the relative
path works fine, like you said it: "resources/myImage.png"
Sometime you don't see the obvious...
Thanks Jacque

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at] Im Auftrag
von J. Landman Gay
Gesendet: Dienstag, 1. November 2016 17:23
An: How to use LiveCode <use-livecode at>
Betreff: Re: How do you maintain image source reference on multiple

On November 1, 2016 9:20:17 AM "Tiemo Hollmann TB" <toolbook at>

> On windows I only create the windows standalone. For the final tests, 
> adaptions and creating the standalone for Mac OS, I copy the source 
> stack to my Mac. Here comes my issue. All of my images have a windows 
> path as source reference, like "C:/myPath/recsources/myImage.png", 
> which obviously doesn't work on Mac. I tried to set the image source 
> path to a relative path like "/resources/myImage.png", hoping that 
> would catch the image on both platforms, but obviously relative paths are
not working as image source.
> This would be a clean solution for this issue.

If you are setting the path in the property inspector, I think there's an
extra slash at the beginning of the path. Try "resources/myImage.png". I
believe there's an option in preferences to automatically use relative paths
when you select a file in the inspector but I'm not on my computer right now
to check.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the use-livecode mailing list