Description
When uploading an image for use in the post header, the user has no control over zoom level and alignment within the "viewport" of the post header. Additionally we never crop images when uploading, so the higher the vertical to horizontal aspect ratio of the image the more data we're transferring that never gets seen.
An ideal solution would allow users to "pan" an image within the post header to select an alignment, and "zoom" to select a scaling factor, then we'd pass this information to the thumbnailer and it would generate a scaled sub-image with the exact aspect ratio of post headers.
We could also build the UI for the pan/zoom and simply store these values, using them to lay out the image in the browser without ever having to touch the thumbnailer. This would improve the user experience but we'd miss out on potential perf improvements.