[wp-hackers] Inclusion of TimThumb -- anyone game?

Casey Bisson casey.bisson at gmail.com
Thu Mar 5 19:28:09 GMT 2009

What's needed for that is for WP to have a function like the_icon() or  
the_image() that works like the_content() and and the_title(). The  
question, however, is how to set that image when creating posts.

I implemented something like that in my bSuite plugin; it adds a  
metabox to the post/page editor that allows post authors to define the  
"icon" representing the post. Still, I'd love for WordPress to have a  
similar feature built-in.




On Mar 5, 2009, at 2:13 PM, Nathan Rice wrote:

> Doug,
> WordPress already includes an image resizing feature when you upload  
> new
> images (creates a medium and thumbnail size image).  However, I've  
> been a
> little curious as to how plugin/theme developers can use those  
> features
> themselves.
> I'd like to formally ask for the hackers' help on this one.  If  
> there is a
> way for a theme/plugin to take advantage of the image upload and  
> resize
> functions, I'd certainly appreciate a point in the right direction.
> As far as timthumb, I don't think it would be necessary in core if  
> the same
> thing could be accomplished using pre-existing WordPress functions.
> Nathan
> My Website
> http://www.nathanrice.net/
> My Twitter
> http://twitter.com/nathanrice
> On Thu, Mar 5, 2009 at 1:36 PM, <zamoose at gmail.com> wrote:
>> I've noticed a lot of "premium" themes (most recent being the Ma.tt- 
>> linked
>> Smashing Magazeen) are starting to include TimThumb along with  
>> their themes.
>> Easy thumbnail generation, allows for a lot of flexibility on theme  
>> authors'
>> parts, etc. MIT-licensed.
>> (Must have GD installed, of course, for it to work.)
>> So, that being said, the question arises: does anyone else see a  
>> use case
>> for including it in WordPress? Recall we had similar discussions in  
>> re:
>> inclusion of the various JS libraries and "include 'em all and let  
>> the
>> plugin/theme devs sort it out!" was the eventual decision. Oh, and  
>> the
>> wonderful wp_enqueue_script() functionality followed...
>> Grist for the mill, but I come down on the "tentative 'yes'" side of
>> things.
>> -Doug
>> http://literalbarrage.org/blog/
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list