[theme-reviewers] Fwd: Re: Draft Theme Development Checklist

Chip Bennett chip at chipbennett.net
Sun Jul 11 23:27:56 UTC 2010


On Sunday 11 July 2010 9:42:19 am Simon Prosser wrote:
> On 11/07/2010 15:35, Chip Bennett wrote:
> > I'm thinking, at a minimum, generate a 100x100 thumbnail, which should
> > hopefully accommodate most square thumbnail dimensions defined by themes.
> > Other than that, I'm not sure how to provide more universal support.
> > 
> > Any thoughts on the most standard/universal means to incorporate
> > thumbnails into the theme unit test data?
> 
> when you upload an image doesnt wordpress create the thumbnails in 3
> sizes ready for post-thumbs? then its up to the theme author to include
> 
> either:
> <?php the_post_thumbnail(); ?>
> <?php the_post_thumbnail('medium'); ?>
> <?php the_post_thumbnail('large'); ?>
> 
> Or am i lost again?

It does, but the default size will depend on what the theme developer has set 
(if anything) in functions.php. For example, in one theme, I've set the 
default size to 55x55.

WordPress currently will not re-size thumbnails for already uploaded images 
(though plugins exist to do so). That won't matter, for testing purposes, for 
themes that define square dimensions for post images. However, if a theme uses 
rectangular dimensions, then the thumbnail won't display as intended with the 
theme unit data, without re-uploading the image.

I'm thinking there isn't really a good way to accommodate non-square, custom 
thumbnail dimensions for testing purposes.

Chip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100711/39724787/attachment-0001.pgp>


More information about the theme-reviewers mailing list