Non-square project icons are scaled inconsistently.

The project image for gitlab-eslint-plugin is not square. It's a bit wider than it is tall.

eslint logo
gitlab-eslint-plugin

This produces some inconsistent behavior on GitLab. In some cases, it is scaled proportionally to fit:

proportional

and in some cases it is stretched to fit:

stretch

We probably ought to be consistent on this.

I would suggest we do something like we do with user avatars where we employ cropper.js to allow the user to select a square portion of their uploaded image to use as the project logo rather than taking their uploaded image and saving it verbatim.