Optional image optimization before upload

This feature is almost ready, we should be able to test it soon:

https://github.com/discourse/discourse/pull/13432

8 Likes