[drupal-devel] inline checkbox for attachements
killesreiter at physik.uni-freiburg.de
Sat Jun 18 06:58:27 UTC 2005
On Fri, 17 Jun 2005, Bèr Kessels wrote:
> Amoungst the various options of additional modules (inline, img
> assist etc) I want to propose the Simple Solution too. Which would
> be another column in the attchements table for "inline". That would
> then call a theme function that gets a $node pointer passed along. y
> default all it will do is append image tags (if it is an image) or
> link tags, if it is a file to the article. That would be at filter
> time, so one will not see the HTML.
upload_image does this (generate thumbnails from uploaded images). Also
makes those images image nodes.
> I am:
> * Looking around first to find out how much chance that this makes it into
> core, since I will not "sell" a hacked core to this client. We have no proper
> hook to change that table, so maybe a third solution would be to introduce
I have hidden the orignal table through css and generate my own. Not
nice, I know, but works.
> * Looking for additional ideas, on how to enlarge the chance this gets in
It would be nice to make the original table themable. I do not think we
need an "inline" selector. Simply make all images inline.
More information about the drupal-devel