Repository image corruption on error
Summary
If you try to upload an avatar that's too big for a repository image, the image preview gets corrupted.
Proposal
- Present an error when attempting to use a project avatar greater than the avatar size limit.