[wp-hackers] Thumbnail HTML Code

Owen Winkler ringmaster at midnightcircus.com
Tue Jul 12 04:38:08 GMT 2005


Matthew Mullenweg wrote:
>> * Fiddling with the file selection UI, including the option to sandbox 
>> a user into their own user-image-upload directory unless they have a 
>> permission (see why I like the new capabilities stuff?).
> 
> That's probably overkill.

I agree that it seems a bit excessive.  But it was the most commonly 
requested feature I had for Exhibit until I implemented it.  Maybe I 
should track down my userbase and force them to explain themselves.

> Feel free to create drafts at will and with reckless abandon, IDs are 
> cheap.

Every time the user would click on the Write tab, I would need a new ID, 
leaving possibly tons of draft posts.  I guess I would feel better about 
this if I didn't feel like I was creating a sea of unmanaged empty draft 
posts.  So instead, I've got a hidden field that stores child object 
IDs, and when the post gets saved, the "children" are re-parented using 
the new post ID.

One clarification:  An image that appears in two separate posts should 
have two different permalinks, correct?  My gut reaction was "no", but 
as I thought it through, I'm thinking "yes".

Owen




More information about the wp-hackers mailing list