Merge pull request #1 from TPZF/dev

Transformations depending on coordinate system
Sets the file to download as preview when the image to download is a JPEG/PNG/GIF
Refactoring