note 29409 deleted from function.imagegif by nlopess

From: Date: Tue, 23 Nov 2004 16:12:29 +0000
Subject: note 29409 deleted from function.imagegif by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-80931@lists.php.net to get a copy of this message
Note Submitter: funduanil at hotmail dot com ---- To embed text and images within an html page, create the image program as a separate file and make sure that the image program returns image headers so that image.php will be viewed as an image by the browser. Now just put your text in a separate file and at the place where you want the image to appear, embed it using <img src="image.php?querystring"> where your querystring will pass the parameters required to create the image. It works fine with IE and Netscape. If you want to create high resolution images, use the PNG format instead of JPEG if you are not using too many colors since the resolution is much better with PNG files and the file size of PNGs is much smaller too.

« previous php.notes (#80931) next »