Drag & Drop an Image from a Webpage

Klaus on-rev klaus at major.on-rev.com
Thu Jun 14 12:11:07 EDT 2012


Hi Kay,

Am 14.06.2012 um 18:01 schrieb Kay C Lan:

> OK, have no more hair to pull out.
> OS X 10.6.8, LC 5.5, FireFox, Safari
> I can use Drag & Drop to drag an image.jpg file from the Finder onto my
> stack and have it automatically imported, sized and moved as required. No
> problem.
> ...

this does work, just tested :-)
OS X 10.7.4, Safari 5.1.7, LC 5.5

> put the dragData["text"] into tStore3
> ##-I get the file name '
> ##http://www.emma-maersk.com/gallery/photo/engine_2.jpg
put url(tStore3) into img "your image here"

:-)

> ...
> 
> Any help very much appreciated. If I do not respond for a while it's
> because I'm about to hit the road and will be webless for a day or so.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list