Great module. I'd like to use it on pages where i have two image fields, the first a banner and the second the thumbnail gallery. Alas "Imagefield_gallery is designed to work with nodes that have only one imagefield, it does not currently work with nodes that have more than one imagefield. Results cannot be garunteed in these situations.", and of course it picks up the first image field with banner and not the second image field with the multiple images.

Obviously the ability to work on multiple image fields is desirable, but not necessary in my use case, so in the hope of a quick enhancement what about just supplying the name of the image field for the gallery to target?

Thanks,

Toby

Comments

eclipsegc’s picture

Assigned: Unassigned » eclipsegc
Status: Active » Closed (duplicate)

Toby,

This isn't as quick a job as I wish it were, I'm currently redesigning the admin to handle multiple imagefields. This will eventually happen, but not today unfortunately. You might look into seeing if you can manually pass your imagefield to the theme function within the node template. If that doesn't work, all the code is there to copy this into a node template and make it work (I built this in the theme layer initially and then ported it to a module). Sorry I don't have a better answer.

Eclipse

tobyspark’s picture

Thanks for the reply. Shame there isn't such a quick fix, but definitely glad to hear you're working on a proper solution.

I'm going to have to upgrade my drupal-fu to try your two suggestions, but thats looking like its on the cards already... nothing for it now =]

Toby

Fayna’s picture

Looking forward to this!! It would be so helpful. :-)