This is a discussion on save image to server within the alt.comp.lang.php forums, part of the PHP Programming Forums category; guys, After lots of searching, there seems to be lots of tutorials on how to output a resized image to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
guys,
After lots of searching, there seems to be lots of tutorials on how to output a resized image to the browser, but none to save it to a directory on the server. I have an image previously uploaded and i need to resize it and save it to a subfolder "thumbs". So far i have resized it, and stored it as $imgThumb (this is from imagecopyresized(args[...])) but writing it to a file on the server eludes me. I have full permisions on the server (CHMOD 777), and at the moment i am using gd 1.6.8, Thanks in advance, Jon |
|
|||
|
don't we need GD 1.8 minimal config for resizing and writing files like jpg
? or html ? "Jon" <jonchalk@hotmail.spam> a écrit dans le message de news: oprso1imxgn6j0ws@news.f9.net.uk... > guys, > After lots of searching, there seems to be lots of tutorials on how to > output a resized image to the browser, but none to save it to a directory > on the server. I have an image previously uploaded and i need to resize it > and save it to a subfolder "thumbs". > So far i have resized it, and stored it as $imgThumb (this is from > imagecopyresized(args[...])) but writing it to a file on the server eludes > me. I have full permisions on the server (CHMOD 777), > and at the moment i am using gd 1.6.8, > > Thanks in advance, > Jon |