When using a field collection with multiple images, field_slideshow only uses the first image. Here is a patch that lets us use multiple image fields while keeping the same behaviors for single images. The only limitation is that the caption will still be a single field in the field collection item.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jide’s picture

Sorry, this is the good patch.

Anonymous’s picture

I'm using this patch (#1) right now in a D7.15 installation with field_collection 7.x-1.0-beta4 and field_slideshow 1.7 and it works!

bendev’s picture

could you explain how to use it ?

I have a field collection with multiple images FIELDS . (field image left and filed image right)
Is the intention of your patch to get two image fields of a field collection displayed side by side ?

In the content type I select the slideshow as the display mode. Then I need to select one of the image field I want to display but I would like to have two.

Is it the purpose if your patch or did I understand it wrong ?

thanks

camdarley’s picture

Status: Needs review » Reviewed & tested by the community

Works perfectly!
However, as bendev (I think), the first reason why I tested this patch is that I would have preferred to have multiple images per slide.
I have a "field collection", which contains 4 image fields and I would like to slide from one element to the other and see my four images together on each slide.
This is another issue, as this one could be useful for many.
Thanks jide!

camdarley’s picture

I rerolled the path for the last dev version