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

drewish - March 21, 2007 - 17:56

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

#2

Jeroen Coumans - September 6, 2007 - 20:43

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

#3

Jeroen Coumans - September 9, 2007 - 15:46

I've created a block for doing this.

#4

drewish - September 9, 2007 - 17:53

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

#5

drewish - September 10, 2007 - 19:42
Status:active» needs review

anyone want to try this out?

AttachmentSize
image_attach_113326.patch 3.02 KB

#6

Hetta - September 12, 2007 - 11:15

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

#7

Jeroen Coumans - September 21, 2007 - 08:51

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

drewish - September 21, 2007 - 15:25

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

joachim - November 18, 2007 - 09:13

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

#10

drewish - November 18, 2007 - 21:29
Status:needs review» fixed

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

#11

Anonymous - December 2, 2007 - 21:32
Status:fixed» closed

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

#12

Summit - May 15, 2009 - 15:52

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

 
 

Drupal is a registered trademark of Dries Buytaert.