The current implementation of inline_auto_add does not allow to provide inline images as a variable to the theme. Attached patch implements that option along with the options to output inline images above or below the node's content. I've also completely reworked _inline_auto_add(), since it used to process both the teaser and body of a node regardless of the actual view (The current view is passed as 4th argument to hook_nodeapi()).
This feature is inspired by node_images module.
| Comment | File | Size | Author |
|---|---|---|---|
| inline.auto-add.patch | 5.73 KB | sun |
Comments
Comment #1
sunWhy not create a CCK Inline auto_add field that gets automatically filled with those images? That would open the door for many other use cases.