Re: Help on ImageJPEG
| From: | David Grant | Date: | Tue, 27 May 2003 11:24:35 +0000 |
| Subject: | Re: Help on ImageJPEG | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149079@lists.php.net to get a copy of this message | ||
Peter Rinab wrote:
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).Could you provide a URL or a larger portion of the code?
1) header('Content-Type: image/jpeg'); doesn't helpGuess: Try using Content-type instead. Regards, David -- David Grant Web Developer david.grant@wiredmedia.co.uk http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration number: 4016744 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************