[Sprint/QuietQuail](fix): GIF resize and cropping.
Closes #907 (closed)
Summary
On production, if you upload a gif as your avatar, 2 things:
- The resize is broken. If you take the image URL and change between large and small, there is no difference.
- The GIF will not be cropped, so if it's wide or long, it will be malformed in older areas like "create new blog".
- The GIF will likely appear as a quite a glitchy still-frame. (it should be a still-frame but not glitchy)
Prod
Testing
Firstly, I recommend you grab a testing gif. I used the following.
Try setting that as your avatar on production to see the issue, also head over to 'Create Blog' which is an older page that does not have front-end validation to stop the image from covering an extra-wide space.
For testing, try it on a sandbox, check all the places your avatar will be. Post it a few places and make sure the gif isn't messed with and image files can all still be uploaded fine around the site. I could not find any outliers where this did not cover it.