[wp-trac] [WordPress Trac] #17870: Featured image on post types
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 11 03:20:00 UTC 2011
#17870: Featured image on post types
-----------------------------------------+------------------------------
Reporter: kevindees | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------------------
Comment (by kevindees):
Replying to [comment:1 SergeyBiryukov]:
> Steps to reproduce? The image should be resized on-the-fly to `266px`:
> {{{
> <img class="attachment-post-thumbnail" width="266" ... />
> }}}
>
> Code reference:
> http://core.trac.wordpress.org/browser/tags/3.2.1/wp-
admin/includes/post.php#L1230
Would it not be better to do this with css as well in general? I do not
know why this happens but it has not be isolated to one installation.
As far as the php function goes I couldn't say what is going on. Could be
the dimensions of the images throwing the calc off.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17870#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list