Crop selections for featured images are not used
|Reported by:||fraabye||Owned by:|
|Severity:||normal||Keywords:||post thumbnails, add_image_size, image cropping, featured image|
I am experiencing the following with WordPress 3.0-beta2-14640 when adding post thumbnail support:
My thumbnail setting in wp admin is 170x60 and these are in my functions.php:
set_post_thumbnail_size( 170, 60, true); // Normal post thumbnails add_image_size('aside-image', 179, 179, true); // Aside images add_image_size('employee-image', 179, 224); // Employee images
When selecting a thumbnail crop it shows up correctly in wp admin.
The crop shown by get_the_post_thumbnail() in my is a hard crop centered on the image.
The square image crop for all other uses than thumbnail appears to work fine.
I have tried:
- Deleting the image, including all variants in wp-content
- Regenerating thumbnails using Viper007Bonds Regenerate Thumbnails 2.0.2.
Can anybody confirm this behaviour?
I have attached a jpeg illlustrating the different crops.
I couldn't find any related tickets in Trac, my apologies if I overlooked something. The closest thing I could find was ticket 11913. I don't know if they are related?
Feel free to contact me for further information if necessary.