Image_attach should export a block with all images related to the current node. This can then be positioned as part of layout. Might configure to show X of the total Y images attached,

CommentFileSizeAuthor
#5 image_attach_113326.patch3.02 KBdrewish

Comments

drewish’s picture

marked http://drupal.org/node/129705 as a duplicate of this.

Jeroen Coumans’s picture

I'd love to have this feature; are there any updates on it?

Jeroen Coumans’s picture

I've created a block for doing this.

drewish’s picture

cool. should be easy enough to i'll look at dropping that into a hook_block implementation. and then roll a patch.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new3.02 KB

anyone want to try this out?

Hetta’s picture

It doesn't break things, but my image_attach table is blank, so it doesn't show anything either.

Jeroen Coumans’s picture

I created a module to display the attached images, and for image nodes, the attached nodes. Should be easy to convert this to a patch for image_attach. Beware: I've never coded a Drupal module before, so this was really a learning exercise. Hope it's useful!

drewish’s picture

Jeroen Coumans, sounds like it was a good learning experience. if you're not too attached to your code i'd love the review of the patch on this issue. if it works for people i'll commit it and it'll be part of the module and people won't have to duplicate it. if you need help applying a patch check out http://drupal.org/patch .

joachim’s picture

Tested the patch in #5 on CVS HEAD. Works fine :)

drewish’s picture

Status: Needs review » Fixed

cool committed to DRUPAL-5, DRUPAL-5--2, and HEAD

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

summit’s picture

Hi, is this feature also part of Image D6 now?
thanks for considering this otherwise.
greetings, Martijn