Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#26643 closed enhancement (fixed)

Large images posted in comments break out of layout when shown in the admin

Reported by: mattheu Owned by: SergeyBiryukov
Priority: normal Milestone: 3.9
Component: Comments Version:
Severity: normal Keywords: has-patch
Cc: Focuses: ui, administration

Description

If a comment is submitted that contains a very large image, it is shown at full size and looks a bit broken.

In the screenshots below, part of the image is hidden as it larger than the width of the column. Also it makes it very tall and requires a lot of scrolling.

This is even more of an issue on mobiles, as even moderately sized images will break out of the contianer.

Comments containing very large images should probably not be posted at all - but I would say that is a separate issue.

https://dl.dropboxusercontent.com/s/394u3615pyfzzvd/2013-12-16%20at%2011.51%20%281%29.png

https://dl.dropboxusercontent.com/s/4pv3s32dehz25m1/2013-12-16%20at%2011.59.png

Attachments (1)

26643.diff (395 bytes ) - added by mattheu 13 years ago.

Download all attachments as: .zip

Change History (4)

@mattheu
13 years ago

#1 @SergeyBiryukov
13 years ago

  • Component AppearanceAdministration
  • Keywords ui-focus has-patch added
  • Milestone Awaiting Review3.9

#2 @jeremyfelt
13 years ago

  • Component AdministrationComments
  • Focuses admin added

#3 @SergeyBiryukov
12 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 27252:

Prevent large images in comments from overflowing the meta box.

props mattheu.
fixes #26643.

Note: See TracTickets for help on using tickets.