Hi I'm using the GD library to create images from data in a database. Currently I call a php page as my image source and all the code for the image generation is in this page, eg: <img src="image.php"> Is there any way you can do the same thing but just calling a function in the current php file, rather than having to create the extra image.php file. If you have a look of the output of phpinfo the zend logo seems to be generated in such a way. Thanks, Riaan Stander -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php