Closed Bug 478929 Opened 17 years ago Closed 15 years ago

Resize or restrict avatar sizes to reasonable sizes

Categories

(support.mozilla.org :: Users and Groups, task, P3)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cww, Assigned: paulc)

References

Details

Attachments

(1 file)

From bug 474895, you can apparently make avatars that are many MB in size. This is bad news on lots of levels -- particularly for users who may be trying to access Sumo from a slow connection. The best approach is probably to restrict the size of the file in the preferences page to 200x200 px and 20 kb (very generous compared with most sites which use 100x100 or even 50x50). We can go through and one-time resize the existing avatars to fit the new limitation. Or if we want to take the image editing burden off the user, we can allow images as large as we want to be uploaded but say that we'll reduce them to fit on our servers.
Target Milestone: --- → 1.1
1. Find any giant image 2. Log in to https://support-stage.mozilla.org/tiki-user_preferences.php 3. Click on "Pick user Avatar" - https://support-stage.mozilla.org/tiki-pick_avatar.php?locale=en-US 4. Upload giant image from step 1 See comment 0 for expected results.
Not a UX bug; un-targeting.
Target Milestone: 1.1 → Future
Priority: -- → P3
Target Milestone: Future → 2.4
Component: Knowledge Base Software → Users and Groups
Depends on: 614019
Twofold: * restrict upload file size * resize uploaded image
Assignee: nobody → paulc
For QA: * Uploaded avatars need to be <100k * Avatars are resized to 48x48px as soon as they are uploaded. master: https://github.com/jsocol/kitsune/commit/8b674baa8a7b43f06822f79c0bcb58dc224642e7
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified resized large avatars, unable to upload images larger than 128k, able to upload smaller images.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: