Hi,
I'm the maintainer of the Frequently Asked Questions module. Recently someone has requested support to display images attached to nodes (using image attach) on the generated faq page. It would be so much easier to introduce this feature if you could provide a function to which I could supply a node id and it would return something like what is currently returned by "theme_image_attach_teaser()" and "theme_image_attach_body()". I can't use these functions directly as it involves knowing the iid beforehand. I don't want to add code to my module that requires knowledge of the structure of the image_attach table which is the only way I know of getting the list of iids, so a function like this would be very handy. I think other modules integrating with image attach would also find this beneficial.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image_attach_188543.patch | 1.08 KB | stella |
Comments
Comment #1
drewish commentedgood call, that would be useful. i'm pretty busy right now so no promises on it happening quickly though.
Comment #2
stella commentedI've attached a patch that should do it.
Cheers,
Stella
Comment #3
sunSorry, 5.x-1.x won't see any new features.