Download & Extend

Provide auto-inlined images as variable to theme

Project:Inline
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:sun
Status:needs review

Issue Summary

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.

AttachmentSize
inline.auto-add.patch5.73 KB

Comments

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

nobody click here