Closed Bug 416081 Opened 16 years ago Closed 16 years ago

Shouldn't use and distort add-on icon as full-sized preview image

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: rdoherty)

References

()

Details

Attachments

(2 files)

Attached image Screenshot
I don't think we should use the icon-sized image as the full-sized add-on preview image.

See URL/screenshot: https://remora-reskin.stage.mozilla.com/en-US/firefox/addon/4748
I don't think we put it there: If the add-on author uploaded the same pic there, this is INVALID.

However, we should not force a small image to be inflated to 200x150 in any case. Morgamic, can you remove the width and height attributed from the preview image there? To my knowledge, the CSS is set up so the page does not "jump around" on load because the structure does not rely on image sizes (anymore).
Uhhh, this makes me scared, but I can do it.
It still jumps without image sizes in there.  I'd prefer to just solve this with policy on preview upload...
If you mean "policy" as in "on upload, we're going to enforce (shrink / pad with transparency) 200x150px" then I'm all for it.

Asking people to pick the right size otherwise the site will look crappy may not be the right way though?
Target Milestone: --- → 3.4
I'm putting in a fixed width+height for the image container, so I don't think content will jump.
Status: NEW → ASSIGNED
Changed css & html so the image isn't distorted and doesn't break layouts.
Assignee: nobody → rdoherty
Attachment #310792 - Flags: review?(fwenzel)
Comment on attachment 310792 [details] [diff] [review]
Fixes to not stretch screenshots in thumbnail area.

Looks good, r+. (I only reviewed the part of the patch that's related to this bug).
Attachment #310792 - Flags: review?(fwenzel) → review+
Fixed in r11442.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: