Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q1657, May 16, 2001 at 13:41:03:

You are here: irt.org | About | Feedback | 2742 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1657

Sent by
Tero Korento on May 16, 2001 at 13:41:03:

Worth:
Worth reading

Comments:
The idea presented is OK, but suffers from the problem that sooner or later your webcam will be updating the imagefile at the same moment your javascript reads it, resulting in a broken image. (zero byte file or no file)

Question: is there ANY way of verifying if a loaded image is broken or not? (and if broken not display it)

My testing indicates that neither of the methods: document.images, image.onLoad or image.onError will work for this . Nor will image.height or image.width help.

Seems that Javascript is not up to the job.

Any ideas ?


Other feedback on 'irt.org FAQ Knowledge Base Q1657' - show all

©2018 Martin Webb