Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

image object



3:35 pm on Apr 2, 2007 (gmt 0)

5+ Year Member

Is there a way in Opera to know if an image has been successfully loaded or not?

JAB Creations

4:34 am on Apr 4, 2007 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

There is only one way I could imagine achieving this, using serverside coding to serve the image (specifically PHP is what I have in mind) and then somehow pass whether it was loaded or not to say a script via AJAX? I'm not exactly sure what you're trying to achieve though.

- John


11:45 am on Apr 4, 2007 (gmt 0)

5+ Year Member

I've the js code to do it in gecko and IE, but none so far to do it in Opera.
The function is executed with the body's onload event, and check if some images where not properly loaded. It then sends this information to my server (some of the images are off site, and I need to be notified of recurrent problems).

Featured Threads

Hot Threads This Week

Hot Threads This Month