I have a view that displays all the fields from a particular content type. This content type has several image fields. I would like to output a block in which the text fields remain constant, but the images rotate. So there is a single text description of a product, and then several images of that product. So it would be:

Text 1 Image 1a
Text 1 Image 1b
Text 1 Image 1c

Text 2 Image 2a
Text 2 Image 2b
Text 2 Image 2c

Any ideas how to do this.

Comments

MKorostoff’s picture

Um...bump?

TDR’s picture

try disable the devel and/or devel themer module.

worked for me (for a part)

MKorostoff’s picture

OK, I ultimately figured it out. My method is a little hacky, but not SO hacky as to make it un-drupal-like. Here's what I did:

First, I added AnythingSlider scripts and style sheets to the header of the tpl file for this particular view (no sense loading it on every page). For each node featured in the view I created three image fields. The first two I excluded from display, and for the third I checked "rewrite the output of this display" and rewrote it as follows:

<ul class="anythingSlider">
<li>[field_image_1_fid]</li>
<li>[field_image_2_fid]</li>
<li>[field_image_3_fid]</li>
</ul>

AnythingSlider styles li elements as slides in the slideshow, and voila! So I ended up not using Views Slideshow at all, but it's still a great module for other purposes.

redndahead’s picture

So the gist is you want to create a slideshow of images within a node. You can see a tutorial on how to do that here. http://drupal.org/node/814132

redndahead’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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