I'm trying to display an image that resides in the '/Users/User_Name/Documents/App_Name/Images' folder on a local drive (on my Mac)...
I'm positive this worked on my windows machine but don't have that available anymore for testing... I moved across to the Mac (full-time) some weeks ago now...
I have dumped an image called 'MyImage.jpg' into the aforementioned folder and can verify that both the path and the file (at the end of that path) exist - using Mac's 'Finder'. So far, so good !
I can also verify that LC believes the file and folder exist... BUT, I can't see the image in my image control....

Code: Select all
put "MyImage.jpg" into sFile
put specialfolderpath("Documents") & "/" & "App_Name" & "/Images" into sImageFilesPath
--set the defaultFolder to sImageFilesPath --Include / rem out this line makes no difference
if there is not a folder sImageFilesPath then
answer "The folder (" & sImageFilesPath & ") does not exist"
end if
put sImageFilesPath & "/" before sFile
if there is not a file sFile then
answer "The file (" & sFile & ") does not exist"
end if
set the filename of image "imgMyImage" to sFile
Like I say, I'm 95% sure this worked in the Windows version of LC (but wouldn't promise). Either way I can't see why it doesn't work as it stands here.
Any help please ?
Thanks a mil.