Provide auto-inlined images as variable to theme
sun - April 7, 2007 - 14:20
| Project: | Inline |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | sun |
| Status: | needs review |
Jump to:
Description
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.
| Attachment | Size |
|---|---|
| inline.auto-add.patch | 5.73 KB |

#1
Why 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.