Import Image from Net?

Ken Ray kray at sonsothunder.com
Sat Nov 13 21:32:04 EST 2004


On 11/13/04 7:38 PM, "Scott Rossi" <scott at tactilemedia.com> wrote:

> Greetings List:
> 
> Anyone know a way to import an image from a URL?
> 
> I found one way to do it by first writing the image to a local file in the
> local temp directory and importing from there, but I'm wondering if there's
> a way to import the Web-based image directly into Rev.

Here's the simple way:

1) Create an empty image object
2) Do something like this:

  put url "http://www.sonsothunder.com/images/newspaper.jpg" into img 1

Done!

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list