Jump to content
Sign in to follow this  

Import Images into Container field

Recommended Posts

How would I import an image from an internet location via a URL?

I can insert a picture, but it only allows me to specify a local file path.

Is there a way to insert an internet picture besides downloading the image to the local hard drive?


Share this post

Link to post
Share on other sites

I think you have to download it first. You could use AppleScript to download the file, with the built-in app URL Access Scripting. It's dictionary:

download string : URL to download from

to file specification : the downloaded file location

[replacing yes/no] : whether to replace an existing file (default: no)

[unpacking boolean] : whether to decode or decompress the downloaded item (default: true)

[progress boolean] : whether to display a modal progress dialog (default: false)

[form data string] : form data

[directory listing boolean] : get a directory listing? (default: false)

[download directory boolean] : download as an entire directory (default: false)

[authentication boolean] : show authentication dialog (default: false)

→ file specification : the downloaded file

AppleScript can set a container field to an image file directly. This will give you a "referenced" picture. If you want to embed it you'll have to call a FileMaker script from AppleScript to do that.

Alternatively you can use another free Scripting Addition, GraphicsImporter, which can pull the image from a file, which AppleScript can then embed in the container field.

It works well, but it's been a long time since I've used those image tools. GI above won't run on my machine. I don't even have OS 9 on this machine, iMac Intel. These days we use the background Image Events application for these things, or the command line "sips", which has similar functionality.

Share this post

Link to post
Share on other sites

Sorry, I forgot to specify I need a cross platform solution.

Can I get the image out of the Web Viewer?

Edited by Guest

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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