Re: show png in the browser
| From: | Jason G. | Date: | Thu, 01 Nov 2001 07:06:20 +0000 |
| Subject: | Re: show png in the browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73112@lists.php.net to get a copy of this message | ||
Ever consider reading the online manual?
First, say header("Content-type: image/png");
Second, create image.
third use ImagePNG() function
fourth, destroy image.
fifth, go directly to the php script that generates the image, then you will see PHP generated errors.
-Jason Garber
IonZoft.com
At 12:38 AM 10/31/2001 +0000, Luz Lopez wrote:
Hi All I configured the php with thelibrary GD, zlib, jpeg and libpng, I hae a program that generate a image, I can to save this png image but in my borwser I can't to see this image, the browser send me to save to my hard disk this image. I need to show this image in the browser, How can I do it? Thanks in Advanced, Regards, _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net