I think your description of your script step is wrong. I suspect you mean Insert Picture? Best to be precise with your terminology if you want good assistance (not to mention if you want your script to actually work … !)
However, why don't you try using Insert from Device instead. If you choose Camera that then gives you options as to the size you want to insert. I haven't done this myself, but it seems to me this should help, and is probably the script step FM would expect you to use for this process.
No, in fact, it is "Insert File" that I used.
I insert a file, that I choose it is an image, and I choose to display the content. The file inserted is just a reference.
I don't choose from device because the photos are on the computer not on the device.
In addition, there is no issue with the size of the picture (because the file is a reference): the picture from the camera is bigger but is working. The picture from iPhone is smaller but the reference to be created takes lots of time and crushes Filemaker application in my solution.
"in fact, it is "Insert File" that I used"—as I said, best to be precise!
Since you are using FM13, why don't you try using external storage rather than referencing only. You may find it more efficient
I also tried Insert Picture but it didn't work also for iPhone pictures in Windows.
After struggling, I found out that the problem is in fact in the iPhone photo by itself.
There is absolutely no problem when using a camera photo or any other mobile photo.
This is due to the fact that iPhone photos has some properties that are not supported in Windows (among those are GPS characteristics for example).
So I needed to remove those properties from those photos.
I used the "Stripper.exe" software that easily completed this task.
After this, there was absolutely no problem using those photos in any method.
That is very interesting; a useful discovery. Thanks for the post.