Here is my code
Code: Select all
put "" into image "coverimage" of card "Editor"
answer file "Select an image (preferably 120dpxx120px)" with tStartDirectory with type ("JPEG Images|jpg,jpeg|JPEG" & return & "PNG Images|png|PNG")
if it <> "" then
put it into theFilePath
put URL ("file:" & theFilePath) into image "coverimage"
else
--no file was selected, or cancel was pressed
beep
end if
Do I need to put the image into a control off-screen or another card and resize it?
Thanks as usual for all help and comments gratefully received.