Closed jeremy-farrance closed 6 years ago
This makes sense, but won't be on our priorities for quite a while. So I'll mark it as "needing contribution". The contribution would have to look a bit like this:
I'll close this, as I don't think anybody will pick this up any time soon. Pull put it the milestone which lists all needing contributions.
I'm submitting a ...
[x] feature request
...about
[x] admin experience UI [x] other / unknown
Current behavior and problem Image file uploads remain as is. Often from users that do not understand DPI, pixels, or even file size resulting in huge files due to modern smartphone cameras.
Expected behavior DNN instance administrators should be able to set the target DPI and maximum long-side (width or height) in pixels of an image. Any initial upload is automatically processed and resized before being stored. Example, user uploads a 20 megapixel 96 DPI JPG portrait-oriented image with a file size of 4.3 MBs. ADAM/ImageResizer processes the file down to 8 megapixels at 72 DPI with JPG quality at 75% (progressive) and the resulting file is only 388 KB.
What is the motivation / use case for changing the behavior? This provides a defacto massive performance increase on page load in situations where the content management user is unaware. Costs in bandwidth, disk storage, and backups can be affected (hopefully reduced).
Anything you would like to add Similar to the way ADAM/ImageResizer "just works" in DNN, it would be nice if this also worked across the DNN instance anywhere. However, at the least, have it work within the 2sxc/ADAM uploading. I imagine that either in web.config or somewhere in 2sxc that we would be able to choose and/or change the target image resizing defaults.
ImageResizer provides a simple code example for this http://imageresizing.net/docs/v4/howto/upload-and-resize
We recently processed a particularly egregious site manually that had gotten to 90 GBs of unprocessed JPGs, when we were done the site was a svelte 18 GBs. Adding this to 2sxc and/or DNN would be a dream come true. :)