Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

image import problem


This topic is 8194 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

  • Newbies

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8194 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.