Jump to content

Script to copy image from web link into container field


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

Recommended Posts

Do a quick test to verify that the file is actually a picture:

- right-click the container and do "export field contents" and save it with the proper extension that you know it is (jpg? png?)

- inspect the file in your OS, open it

- if it is a picture then right-click the container again and choose "insert picture" and select your file

if this all works then you have your routine to script:

- use the "insert from URL" to insert into a *global* container

- use the 'export field contents' script step to the temporary folder using a placeholder file name

- use the "insert picture" script step to grab the file back and insert it into the proper destination container

Link to comment
Share on other sites

This topic is 1389 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.