I'm currently pulling my hair out over images and how they work. Hopefully once I finish this part of the code, I'll never have to use them again!
Here's my issue: I'm making an app for iOS (and maybe Android) where the user can pick an image from their library or take a photo, and then add some text to it, and either send it in an email or choose another picture or two first before sending. I've got two image fields (one for a small version of the image so users can see a thumbnail size photo, and one hidden one that's full sized that actually gets sent). Now, while I was making the app on the computer, I was using something like this:
Code: Select all
answer file "Please choose a file:" with filter "JPG file, *.jpg", "JPEG file, *.jpeg", "PNG file, *.png"
put it into PhotoLocation
set the filename of image "JobImage1" to PhotoLocation
set the filename of image "JobImage1FullSize" to PhotoLocation
Many thanks
Michael