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 Tiemo
-----Ursprüngliche Nachricht----- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von J. Landman Gay Gesendet: Dienstag, 1. November 2016 17:23 An: How to use LiveCode <use-livecode@lists.runrev.com> Betreff: Re: How do you maintain image source reference on multiple platforms? On November 1, 2016 9:20:17 AM "Tiemo Hollmann TB" <toolb...@kestner.de> wrote: > 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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode