Closed Bug 1035479 Opened 10 years ago Closed 10 years ago

Mozilla moderator uses Mozillians avatar with wrong aspect ratio

Categories

(Participation Infrastructure Graveyard :: Moderator, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gene, Unassigned)

References

Details

When a user uploads a rectangular avatar image to their Mozillians profile, like these profiles do :

https://mozillians.org/en-US/u/jakemaul/
https://mozillians.org/en-US/u/jhford/

Mozillians saves both the original non-square image and creates a thumbnail with the sides cropped. For example, jakemaul, with the profile :

https://mozillians.org/en-US/u/jakemaul/

uploaded the photo :

https://mozillians.org/media/uploads/userprofile/5d9e2612-bb7d-440e-bcd3-5343c094bfe9.jpg

which was rendered into the thumbnail :

https://mozillians.org/media/uploads/sorl-cache/0a/71/0a71c8ed2ec2a3e9c1a10acf0a41825a.jpg

When Mozilla Moderator uses a Mozillians avatar image, it's grabbing the wrong image and deforming it to be a square. The result is that all Mozillians who uploaded non square avatar images, have squished avatars on Mozilla Moderator. Additionally, people visiting the Mozilla Moderator, are forced to download the original high resolution user avatar image (bandwidth, slowness) even though it's never actually displayed at full size or at the correct aspect ratio. You can see this bug in the avatar images in this poll :

https://future-email.paas.allizom.org/e/future-email
Looks like this bugzilla queue is not monitoring, moving to github : https://github.com/mozilla/mozmoderator/issues/70
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Gene, thanks for reporting this issue!

This Bugzilla component is still new and has not been used yet. Issues are still being monitored in github.

Thanks for moving this to github.
Product: Participation Infrastructure → Participation Infrastructure Graveyard
You need to log in before you can comment on or make changes to this bug.