WIP: Thumbnail proxy
Proof of concept of a thumbnailer / preview generator in the proxy. Will generate thumbnails for every image if the proxy is activated and should be similarly cached by nginx. Code is just quick copypaste to illustrate the concept.
Some of the missing things:
- Handles only images
- doesn't handle errors very much
- code is horrible
- doesn't respect our limits
- can't be turned on / off separately from the other proxy