Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13027 closed defect (bug) (worksforme)

Featured Image in post/page, standard theme

Reported by: bloggus's profile bloggus Owned by:
Milestone: Priority: high
Severity: major Version: 3.0
Component: Post Thumbnails Keywords:
Focuses: Cc:

Description

Images selected for the featured image in post/page sometimes wirk and sometimes not. Seems like some check is not working.

I have tested following:

  1. Images under 940px will be shown, I guess they will be stretched ... and...


  1. As a test I used 800 × 777 and it works ... but ...


  1. 800 x 800 image (actually same image but scaled before uploaded), don't show up.


Actually I can't get a grip on this one. Tried several images, with differents sizes.

800x800 - don't work
800x777 - work
900x900 - don't work
900x759 - don't work
900x920 - don't work

Can't really see a pattern here.

Change History (4)

#1 @bloggus
16 years ago

  • Cc bloggus added

#2 @ryan
16 years ago

  • Component changed from Themes to Post Thumbnails

#3 @dd32
16 years ago

  • Keywords needs-patch added

Can someone test and confirm what the issue is here?

Are the intermediate sizes being created? Is the attachment metadata correct?

To me, It sounds like some of the aspect ratio checking code which determines which thumbnail to use may be missing the mark on some ratio's, I've not had a chance to test this out however.

#4 @dd32
16 years ago

  • Keywords needs-patch removed
  • Milestone 3.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

I cant duplicate this.

All images under 940px wide are not used for the header

Images from 200 through to 1000px high at random intervals work (as long as they're >= 904px wide)

I cant find any resolutions which causes it to use smaller images as the header, including the ones you've quoted.

Closing as worksforme unless someone else can duplicate it?

Note: See TracTickets for help on using tickets.