[wp-hackers] Inclusion of TimThumb -- anyone game?
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:
> WordPress already includes an image resizing feature when you upload
> images (creates a medium and thumbnail size image). However, I've
> been a
> little curious as to how plugin/theme developers can use those
> 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
> 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.
> My Website
> My Twitter
> 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-
>> Smashing Magazeen) are starting to include TimThumb along with
>> their themes.
>> Easy thumbnail generation, allows for a lot of flexibility on theme
>> 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
>> inclusion of the various JS libraries and "include 'em all and let
>> plugin/theme devs sort it out!" was the eventual decision. Oh, and
>> wonderful wp_enqueue_script() functionality followed...
>> Grist for the mill, but I come down on the "tentative 'yes'" side of
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers