Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to handle photo uploads?

I'm doing a website for a family member's wedding. A feature they requested was a photo section where all the guests could go after the wedding and upload their snaps. I said this was a stellar idea and I went off to build it.

Well there's just the one problem: logistics. Upload speeds are slow and photos from modern cameras are huge (2-5+Megs).

I will only need ~800px wide images and some of them might require rotating so ideally I'm looking about using a client-side editor to do three things:

  1. Let users pick multiple files
  2. Let them rotate some images so they're the right way up
  3. Resize them and then upload

And in my dream world, it'd be free and open source. Any ideas?

Just a reminder: this is something the guests have to use. Some of them will be pretty computer savvy but others will be almost completely illiterate. Installing desktop apps isn't really an option. And I assume 98% of them have Flash and Java installed.

Edit: I'd prefer a Flash/Java option over SilverLight, not least because it has a smaller install rate at the moment, but also because I'm on Linux and I'd like to test it =)

like image 940
Oli Avatar asked Sep 16 '08 16:09

Oli


People also ask

What's the best way to store user uploaded images?

Store the images as a file in the file system and create a record in a table with the exact path to that image. Or, store the image itself in a table using an "image" or "binary data" data type of the database server.

How do you upload photos?

How to upload to Google Photos: From your phone. Provided you have “Back up & sync” switched on, the Google Photos app on your Android or iOS phone or tablet should automatically upload your photos and videos to the cloud.


2 Answers

The most common solution for this is a java applet, although most of them are not free. Examples:

  • http://www.jumploader.com/
  • http://www.aurigma.com/Products/ImageUploader/OnlineDemo.aspx
  • http://www.javaatwork.com/java-upload-applet/details.html
  • JUpload, mentioned by ScArcher2
like image 158
Mauricio Scheffer Avatar answered Oct 21 '22 05:10

Mauricio Scheffer


I have had good luck with Gallery. It is free, open source, and has all the features you mentioned.

It will allow your users to upload photos without any intervention from you.

like image 33
Kyle Renfro Avatar answered Oct 21 '22 03:10

Kyle Renfro