Dynamically Generated Images ( PHPGraph ) and timeouts.

From: Date: Wed, 05 Feb 2003 20:39:44 +0000
Subject: Dynamically Generated Images ( PHPGraph ) and timeouts.
Groups: php.general 
Request: Send a blank email to php-general+get-134478@lists.php.net to get a copy of this message
I'm using JPGraph in a PHP script, and I have caching turned on in JPGraph. The graph making PHP is called from a img tag like so: <img src="testgraph.php"> If JPGraph has determined that the image is too old, it regenerates it on the fly. Problem is, if the image takes more than 1-2 seconds for JPGraph to create, I get a broken image link in IE, and a blank image area in Mozilla. They're not waiting long enough for the image generation to finish and JPGraph to send the image. ( The images are small, and so download quickly, so it's not a DL issue ). Is there some way to tell the browser to wait for the image? A <meta> tag, or something? -Daniel

« previous php.general (#134478) next »