WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#22782 closed defect (bug) (fixed)

Twenty Twelve: skewed gallery thumbnail images in IE8

Reported by: lancewillett Owned by: lancewillett
Priority: normal Milestone: 3.5
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc:

Description

See attached screenshot.

Reported in the forums.

For example the thumbnail on the right hand picture 387 x 86. It is generated by the tag:

<img width="1024" height="227" src="http://paddler.co.nz/wp-content/Imagefiles/2012/12/Kawhia-Harbour-010-1024x227.jpg" class="attachment-thumbnail" alt="Radio check">

Attachments (1)

example-ie8.jpg (75.3 KB) - added by lancewillett 7 months ago.

Download all attachments as: .zip

Change History (4)

lancewillett7 months ago

comment:1 lancewillett7 months ago

I think the best approach is to account for this class value attachment-* in the IE stylesheet: http://core.trac.wordpress.org/browser/trunk/wp-content/themes/twentytwelve/css/ie.css#L26 and set it to width: auto;.

I'm working on a patch.

comment:2 lancewillett7 months ago

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

In 23102:

Twenty Twelve: fix skewed gallery thumbnail images in IE8 by adding selectors to match attachment thumbnails and any mix-and-match of full-size and large-size image that may occur in content. Fixes #22782.

Note: See TracTickets for help on using tickets.