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

Matt Walters mwalters8 at gmail.com
Thu Mar 5 20:14:09 GMT 2009

Just so I don't come across as devils advocate / combative or whatever  
let me say, I'm in favor of something like this being implemented.

One question though, how would the_icon() or the_image() work?   
the_content() and the_title() works because those are single fields on  
the post entry form.  I'm not sure adding a "post image" field to the  
add/edit post screen is a good idea.  Would flagging the image in some  
way through the media uploader be too complex for the user?

Any ideas?

Matt Walters
w: http://mattwalters.net/
w: http://snipit.me/

On Mar 5, 2009, at 3:04 PM, Mike Schinkel wrote:

> "Casey Bisson" <casey.bisson at gmail.com>
>> 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 strongly agree with this. And even if it gets voted down for core  
> I'd like to see those of us who see the need collaborate on a plugin  
> that can be considered the default for such functionality.
> As I see it we'd need something like this (I present these as a  
> starting point for discussion):
> the_image([$args]) where $args could include at least:
> 'size' => '{width}x{height}' (i.e. 300x250) or a named size, i.e.  
> 'main', 'tall', 'wide', 'sidebar_thumb' etc. where there would only  
> be one "reserved"  named size (i.e. 'original'?) which would be the  
> default when not specified, and the rest would be configurable in  
> wp_options.
> 'imagenum' => 0 by default where 0 is the first (and possibly only)  
> image which means we'd need a image_count() function.
> A very important component of this is how to store this information  
> in wp_postmeta and elsewhere.
> If we do this it can become a building block for a lot of plugins  
> (including my image cropper plugin that I've not yet released.) That  
> would IMO be the most important reason to do this.
> -Mike Schinkel
> http://mikeschinkel.com/
> _______________________________________________
> 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