identify broken images
thierry.arbellot at wanadoo.fr
Mon Dec 27 07:03:42 EST 2004
Have you tried the size property on the image ?
if the size of image "im_1" = 0 then ...
On Monday, Dec 27, 2004, at 00:11 Europe/Paris, Claus Dreischer wrote:
> i have a small problem i don't see a simple solution for.
> Maybe someone here has one.
> I want to display JPGs from file, so i make a
> put URL ("binfile:" & my_file) into image "im_1"
> This is working OK.
> But when the JPG in the filepath my_file is faulty (broken download or
> The above line displays an empty image "im_1".
> I now want to identify these faulty images.
> I tried the following with no result:
> if the imagedata of image "im_1" is not empty then ...
> if image "im_1" is not empty then ...
> if the length of image "im_1" > 0 then ...
> Has anyone an idea how to identify an "empty" image?
> (its not realy empty but nothing is displayed)
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode