stefangs Posted May 1, 2002 Posted May 1, 2002 i've developed a solution (mac) that includes the ability to import pictures. the script goes as follows: Set Error Capture [On] Go to Field ["image'] Insert Picture [] Exit Record/Request the solution is bound in a runtime (5.0) and the customer has placed the graphic support folder with the translators in the solution folder. jpegs don't seem to be supported (which is odd because the standard FM package supports it). i've advised to convert to pict or tiff, but once the user clicks on the import button in the file dialog, no image appears in his frame. since i've disabled the errors, nothing happens at all. i can't confirm this on my machine, because it always works (runtime or not). what other reason besides format conflict could make the import fail? i think the customer tried both importing the actual image as well as a reference only.
Newbies photoadjuster Posted May 1, 2002 Newbies Posted May 1, 2002 Both the standard version of FM and the 5.0 runtime engine (for Windows) have the translator for JPEG (.jpg) built-in. Nothing has to be included in the System folder of a runtime for the runtime to be able to import JPEGs. You script should work. Just a guess. Does the current layout have a portal with the image field in the portal. If so your script will fail because the image field is not on the current layout. Regards Mike Stephenson
stefangs Posted May 2, 2002 Author Posted May 2, 2002 thanks for the info - the image field is not in a portal, so that's not the problem. when i run the script on my machine, it works. i've probed the user some more and found out that he's running the classic environment on his OS X box. is it possible that this creates problems? also, i looked in the 'Claris Translators' folder inside the 'Solutions Extras' folder (which is part of the runtime distribution). there are only 2 files - EPSF PFLT and TIFF. i guess that means no jpg images can be imported. or perhaps someone knows whether there are additional filters available for download.
The Bridge Posted May 2, 2002 Posted May 2, 2002 Make sure your JPEGs are saved in RGB mode, not CMYK. For whatever reason, CMYK-mode JPEGs cause JPEG Error #25 in FileMaker.
Recommended Posts
This topic is 8245 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now