Page 1 of 1

Saving thumbnail image to file

Posted: Thu May 03, 2007 4:11 pm
by jip
I am using the "Thumbnail Generator Class" code (http://www.phpgd.com/scripts.php?script=1) to create a thumbnail image. It works as long as you want to send the thumbnail image to the browser, but if you want to instead save the new thumbnail as a file...

I have commented out:

header("Content-type: image/jpeg;");

since I do not want to send the image to the browser but I can't seem to get it figured out on saving image to a file. Any suggestions will be greatly appreciated.
[/url]