Create block with attached images
Boris Mann - January 27, 2007 - 19:12
| Project: | Image |
| Version: | 5.x-1.x-dev |
| Component: | image_attach |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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,

#1
marked http://drupal.org/node/129705 as a duplicate of this.
#2
I'd love to have this feature; are there any updates on it?
#3
I've created a block for doing this.
#4
cool. should be easy enough to i'll look at dropping that into a hook_block implementation. and then roll a patch.
#5
anyone want to try this out?
#6
It doesn't break things, but my image_attach table is blank, so it doesn't show anything either.
#7
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!
#8
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 .
#9
Tested the patch in #5 on CVS HEAD. Works fine :)
#10
cool committed to DRUPAL-5, DRUPAL-5--2, and HEAD
#11
Automatically closed -- issue fixed for two weeks with no activity.