On Tue, 2006-11-21 at 23:31 -0500, Tom wrote: > <?php > $image = imagecreate(200, 200); > $colorRed = imagecolorallocate($image, 255, 0, 0); > imagefill($image, 0, 0, $colorRed); > > //send image > //header("Content-type: image/jpeg"); > imagejpeg($image); > > ?> Works for me with the header line uncommented. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php