K
Keith Hughitt
Hi all,
Anyone have any suggestions for finding out more information about why
an "error" event is thrown when creating an Image object via
JavaScript?
I am creating lots of images on the fly using PHP, and once and while
one will fail to load. Everything appears okay on PHP's end-- the
image is created and no errors are logged by Apache. I can catch the
error on the javascript end and replace it with another image, but I
haven't been able to track down what is causing the image to fail to
load in the first place? When an image does fail to load, refreshing
to page will fix the issue.
Any suggestions?
Thanks,
Keith
Anyone have any suggestions for finding out more information about why
an "error" event is thrown when creating an Image object via
JavaScript?
I am creating lots of images on the fly using PHP, and once and while
one will fail to load. Everything appears okay on PHP's end-- the
image is created and no errors are logged by Apache. I can catch the
error on the javascript end and replace it with another image, but I
haven't been able to track down what is causing the image to fail to
load in the first place? When an image does fail to load, refreshing
to page will fix the issue.
Any suggestions?
Thanks,
Keith