So here's the situation.

I have some code that generates images dynamically.  It works, mostly.

Sometimes the image will show up as a broken image in the browser.  If I
reload the page once or twice, the image comes up fine.

On a page with 5 different dynamic images (all generated by the same chunk
of code, it's a set of graphs), I'll often see 1 or 2 as a broken image,
but the rest work.  Sometimes all 5 are ok.

I tried out a scheme of writing them to disk with dynamically generated
files, but since I still need to do some auth checking, they end up being
served dynamically and I have the same problem.

To make it even weirder, I just took a look at one of the image files that
showed up as broken, and it's fine (I can't view it directly in my
browser).

I can't for the life of me figure out what the heck is going on.  It seems
that the image data is just fine.  Could the browser be timing out for
some reason?

This has been seen in multiple browsers too (Galeon and IE, at least) so
it's not browser-specific.

I'd love to fix the root cause, but a workaround would be fine too.  The
fundamental problem is that there's no way to not have some code involved
in this process because there needs to be some auth checking before the
image is served.

Any help would be much appreciated.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Reply via email to