Thumbnail of JPEG's photos

Jeanne A. E. DeVoto jeanne at runrev.com
Tue Jan 7 14:06:00 EST 2003


At 11:28 AM -0800 1/6/03, Dave Cragg wrote:
>At 7:52 pm +0100 6/1/03, Klaus Major wrote:
>>This syntax does not work:
>>...
>>set the imagesource of char 1 of fld 1 to url("binfile:" &
>>some_path_with_image)
>>...
>Try it without the "url" descriptor. For example:
>
>set the imagesource of char 1 of fld 1 to "binfile:" & some_path_with_image
>
>I'm not sure if this is the intended behavior or not.

It is. The syntax     URL "binfile:blahblah.jpg"      refers to the
*contents* of the URL, not to the filename. But the imageSource of a
character is a pointer to an image that resides elsewhere (in a file, or in
an image object identified by its short ID), so you wouldn't want to set it
to the file's contents.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list