Page 1 of 1
Batch Image Resize / Uploader
Posted: Mon Mar 13, 2006 10:29 am
by kkashi
Hi,
Does anyone know of a script to resize and upload images?
I basically want to allow my users to
1. point to a directory OR browse and select multiple image files
2. On submit, resize selected images from client and upload to a specific server directory
Thanks
Posted: Mon Mar 13, 2006 11:49 am
by feyd
Without ActiveX or Java, you can't manipulate the file system of the user, and you shouldn't in the first place.
We've got uploading examples all over the forums, and there are several resizing classes/scripts around too. Check the Tutorials board for onion2k's post, or Code Snippets.
Posted: Mon Mar 13, 2006 12:03 pm
by kkashi
Thanks for the feedback.
feyd wrote:Without ActiveX or Java, you can't manipulate the file system of the user, and you shouldn't in the first place.
We've got uploading examples all over the forums, and there are several resizing classes/scripts around too. Check the Tutorials board for onion2k's post, or Code Snippets.
I did not mean manipulating on user, but resizing on the fly on server.
Thanks
Posted: Mon Mar 13, 2006 8:40 pm
by kkashi
Found this great php code.
All you need to do is to upload files to a server directory, and then create an upload folder, change mode to 777 and that's it.
No documentation.
Foreign website
http://www.air4web.com/files/upload/
Maybe someone could take this and enhance to allow for resize, multiple file uploads (I am a developer, but not PHP developer).
Feedbacks / comments?