photo / frontend

The official @github repository of the Trovebox frontend software. A photo sharing and photo management web interface for data stored "in the cloud" (i.e. Amazon S3, Rackspace CloudFiles, Google Storage).
https://trovebox.com
Apache License 2.0
1.38k stars 244 forks source link

Upload indicator should show activity after 100% #844

Open pixelistik opened 12 years ago

pixelistik commented 12 years ago

I have OpenPhoto running on a very slow box (a Raspberry Pi). It can take 10-15 seconds to process an uploaded photo, if I fire up top I can see exiftran running and some php hard at work.

The plupload form in the browser only shows the data transfer progress up to 100%. After that, the form tells me the file is not yet completed, but seems stuck at 100%. There should be an indicator that everything is all right and the photo is being processed.

As an example: The Wordpress media uploader shows the word "crunching" after the upload is complete, if I remember correctly.

jmathai commented 12 years ago

@pixelistik Does the form indefinitely stay at 100% without saying it is complete or is there just long delay?

pixelistik commented 12 years ago

It's just a long delay, it will eventually finish and offer to go to the gallery. This is not a bug, just a minor UX improvement, really. I'd expect 100% to be the end of the process. If I have to wait longer, please just tell me something is still going on.

jmathai commented 12 years ago

Thanks for the info. Where are the photos being stored?

Just trying to make sure there's not something else that needs to be optimized. If it's having to send a photo across the WAN to S3, for example, then it's an expected delay.

i need to look into the plupload hooks and see how to best differentiate from when the file is finished transferring and once a success response is received (meaning it's transferred and stored).

pixelistik commented 12 years ago

Both photo storage and DB are local. I've recorded a video with Plupload interface + Firebug Network + top, maybe it helps you see what happens.