Good morning, is it possible to download the original uploaded version of a file from the admin media area?
If I view an image in the media area for example, I can see that the file size is 700kb. If I now click on the âDownloadâ-button above the file, I only get a 100kb file. Seems to me as if I can only download an already optimized version of the file.
Can you provide some insights in how the files are handled when uploaded?
Hmm, the download SHOULD give you the original asset. Could you please send us a URL to the asset in question (inside your DatoCMS project), either posting it here or emailing support@datocms.com?
Alternatively, is it by chance a SVG? If so, you can add ?svg-sanitize=false to its URL, like https://www.datocms-assets.com/119171/1716576379-svg-sanitization-demo.svg?svg-sanitize=false. (See this thread for more details about SVGs being sanitized).
Actually, sorry! I just noticed something⌠if you have automatic asset optimizations enabled in your project, it looks like this will affect the downloads too I think this is a bug, and Iâll report it for you. Sorry about that!
In the meantime, please try adding this to the image URL to bypass any automatic optimizations: auto=null. You can right-click the âdownloadâ link and add that param manually, ending up with something like https://www.datocms-assets.com/119170/1692314327-a-man-in-a-black-shirt-is-posi.jpg?dl=a-man-in-a-black-shirt-is-posi.jpg&auto=null