Re: imagejpeg and downloading images
| From: | Ernest E Vogelsinger | Date: | Tue, 11 Mar 2003 17:41:58 +0000 |
| Subject: | Re: imagejpeg and downloading images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139155@lists.php.net to get a copy of this message | ||
At 17:47 11.03.2003, James Holden said:
--------------------[snip]--------------------
>READ the manual.
>
>The snippet is correct but if you want to take advantage of the saving
>features of this function follow the function information at the top of
>the page. Jumping straight to the user snippets is a mistake as they
>are user contributed and may not document the whole function.
>
>int imagejpeg ( resource image [, string filename [, int quality]])
>
>
>imagejpeg($im,'myfile.jpg',80);
--------------------[snip]--------------------
This will save the image at the server - he wants the browser to present
the "Save As" dialog...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/