Naming image generated by ImageJPEG()
| From: | Andy | Date: | Sat, 06 Oct 2001 18:11:20 +0000 |
| Subject: | Naming image generated by ImageJPEG() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70236@lists.php.net to get a copy of this message | ||
Hi guys
I got a problem. Maybe you can help?
This is the script file image.php:
<?php
Header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("picture.jpg");
ImageJPEG($im);
ImageDestroy($im);
?>
It's called by index.html: <img src="image.php" ... >
Problem: "Save picture as" results filename image.jpg (IE4)
How can I name the file?
Thanx for help (please post to newsgroup)
Andy.