Welcome to WebmasterWorld Guest from 54.196.231.129

Forum Moderators: open

Message Too Old, No Replies

image object

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

Full Member

5+ Year Member

joined:Dec 3, 2006
posts:257
votes: 0


Is there a way in Opera to know if an image has been successfully loaded or not?
4:34 am on Apr 4, 2007 (gmt 0)

Senior Member from US 

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

joined:Aug 26, 2004
posts: 3145
votes: 12


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)

Full Member

5+ Year Member

joined:Dec 3, 2006
posts:257
votes: 0


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).