Hi,

There's a pretty remarkable module called draft (project/draft) that could use some imagefield love. Draft "provides the ability too create drafts of existing nodes as well as new nodes before you have saved them". If anyone familiar with imagefield code wants to help provide integration with Draft that would be amazing. Draft does sport a hook_draft(). See this issue (http://drupal.org/node/581138#new) for a background context.

Thanks,
Thomas

Comments

quicksketch’s picture

Project: ImageField » FileField

Moving this to FileField (which would in turn provide support for ImageField). It's unlikely that FileField will add integration for Draft, because FileField as it is currently has been merged into core (along with ImageField and ImageCache). I'd recommend that Draft module provide the integration for FileField directly and then continue supporting it in Drupal 7.

quicksketch’s picture

Status: Active » Closed (won't fix)

Per my description above, I recommend Draft add support for FileField rather than the other way around. My general rule of thumb is the less-used module integrates the hooks of the more used ones (a la Views). And since FileField has been moved into core in D7, this is reinforced since the most future-proof approach is for Draft module to include the integration so it doesn't need to be moved in D7.