Batch Image Resize / Uploader

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kkashi
Forum Newbie
Posts: 8
Joined: Mon Feb 27, 2006 10:40 am

Batch Image Resize / Uploader

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
kkashi
Forum Newbie
Posts: 8
Joined: Mon Feb 27, 2006 10:40 am

Post 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
kkashi
Forum Newbie
Posts: 8
Joined: Mon Feb 27, 2006 10:40 am

Post 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?
Post Reply