cozy / cozy-photos-v2

Deprecated - New : https://github.com/cozy/cozy-drive/tree/master/src/photos - Personal Photo Gallery Manager
http://cozy.io
GNU Affero General Public License v3.0
27 stars 25 forks source link

Downloading photo from mobile get the name wrong #96

Open dkm opened 9 years ago

dkm commented 9 years ago

Downloading a picture when viewing it (clicking on the down arrow) produces

frankrousseau commented 9 years ago

Ok @dkm thank you for notifying us!

m4dz commented 9 years ago

Yep, it's due to the import process of the camera app in Android: when you take a photo from an app (here, you browser), the OS stores it in a temporary folder, with a temporary name. The file is so uploaded with this name in Cozy Photos.

Maybe we could try if a more related name is passed by the OS to the server (but I'm not convinced).

dkm commented 9 years ago

sorry i'm not sure we understand each-other... i don't use camera app here, i only try to download a file from the cozy photo app....

m4dz commented 9 years ago

Oops, ok. I thought you try to upload a file from your phone to your Cozy Photo :smile:. I'll check that…

clochix commented 9 years ago

@m4dz any news ?

m4dz commented 9 years ago

Ok, some news, fasten your seat belts! So:


So, we probably should revamp the way a file is disposed to the browser to transfer proper:

Do I forgot something?

frankrousseau commented 9 years ago

Looks good. You can find inspiration in the Files app for that.