Re: Help on ImageJPEG
| From: | Haseeb Iqbal | Date: | Mon, 26 May 2003 23:37:00 +0000 |
| Subject: | Re: Help on ImageJPEG | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149081@lists.php.net to get a copy of this message | ||
what browser are you using IE ?
if yes then header('Content-Type: image/pjpeg'); could work
Creativity is inventing, experimenting, growing, taking risks, breaking
rules, making mistakes, and having fun.
Haseeb Iqbal
----- Original Message -----
From: "Peter Rinab" <peter@rinab.de>
To: <php-general@lists.php.net>
Sent: Tuesday, May 27, 2003 03:42 PM
Subject: [PHP] Help on ImageJPEG
Hi,
is there anybody who has an idea?
I try to store a image with
ImageJPEG($img, "images/new.jpg");
but always get the a bunch of characters on screen (but the file is stored
to - so the function seems to work).
Tried:
1) header('Content-Type: image/jpeg'); doesn't help
2) ob_start(); ImageJPEG... ob_end_clean() doesn't help either
Regards, Peter