Open dkm opened 9 years ago
Ok @dkm thank you for notifying us!
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).
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....
Oops, ok. I thought you try to upload a file from your phone to your Cozy Photo :smile:. I'll check that…
@m4dz any news ?
Ok, some news, fasten your seat belts! So:
jpg
extension even if its another format (such as png)Screen Shot 2015-02-17 at 14.51.05.png
becomes Screen
(without any extension)jpg
as extension, even if it's in another format. Fortunately, Safari mobile doesn't rely on extension to display files, so you can save the image in the camera roll, whatever its format is. The image is so renamed to a camera roll internal compliant name (such as Photo dd-MM-yyyy HH ii ss.ext
with the correct extension that match the file mimetype)So, we probably should revamp the way a file is disposed to the browser to transfer proper:
Do I forgot something?
Looks good. You can find inspiration in the Files app for that.
Downloading a picture when viewing it (clicking on the down arrow) produces