marcovezzale Indeed this is a good point. Files Gallery uses uppy.io for the uploader, which in turn uses Compressor.js for resizing and compressing images. Originally, this script just stripped all EXIF data, but I now see a new option retainExif, which should retain all EXIF data in the image after resize, including EXIF date.
If you want to try this option now, you could add to custom.js:
_c.config = {
// uppy uploader interface options
uppy: {
// https://uppy.io/docs/compressor/
Compressor: {
retainExif: true
},
},
}
I will look into it for next release. Need to check that it works properly, and that it doesn't cause problems when rotating images according to EXIF ... the compressor converts exif rotation to physical orientation, but if the exif "orientation" value remains after the image is physically rotated, the combined physical+exif rotation will be wrong.