Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#26643 closed enhancement (fixed)

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

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

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 12 years ago.

Download all attachments as: .zip

Change History (4)

@mattheu
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Component changed from Appearance to Administration
  • Keywords ui-focus has-patch added
  • Milestone changed from Awaiting Review to 3.9

#2 @jeremyfelt
11 years ago

  • Component changed from Administration to Comments
  • Focuses admin added

#3 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 27252:

Prevent large images in comments from overflowing the meta box.

props mattheu.
fixes #26643.

Note: See TracTickets for help on using tickets.