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

CommentFileSizeAuthor
#2 image_attach_188543.patch1.08 KBstella

Comments

drewish’s picture

Assigned: Unassigned » drewish

good call, that would be useful. i'm pretty busy right now so no promises on it happening quickly though.

stella’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

I've attached a patch that should do it.

Cheers,
Stella

sun’s picture

Status: Needs review » Closed (won't fix)

Sorry, 5.x-1.x won't see any new features.