thomasd / MultiUploadDialog

An MODx addon replacing the outdated default upload dialog.
12 stars 5 forks source link

Image resize functionality #4

Open wuuti opened 10 years ago

wuuti commented 10 years ago

Hey, great package. The upload dialogue was terrible and I am happy to see a more modern one. Question: the FileAPI description says, it can do a client side image resize. It would be a nice enhancement to have this feature for the modx package as well. A lot of customers just try an upload of their superduper 50 megapixel images to their websites not realizing that - even if the filesize is small enough, the site server and the website concept will have problems with images too big. May be you can at least add system settings for maximum image dimensions and - before the upload process - larger images will be resized to that dimensions at client side... Even better: additionally make media source specific maximum image settings... And all the other fileAPI functionalities are interesting as well: watermarks, auto rotation, crop, convert, HTML5 filters!

thomasd commented 10 years ago

Hey, thanks. And thank you for expressing your ideas. I consider integrating some features like auto rotation and max dimensions. Also I like the idea of media source specific settings, I will have a look into this too. But more advanced stuff like crop, convert or even filters should be handled in a specific media manager/image editor and not in the upload dialog. And contribution is always welcome: fork, code, test, send pull request. ;)