Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
MKorostoff CreditAttribution: MKorostoff commentedUm...bump?
Comment #2
TDR CreditAttribution: TDR commentedtry disable the devel and/or devel themer module.
worked for me (for a part)
Comment #3
MKorostoff CreditAttribution: MKorostoff commentedOK, 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:
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.
Comment #4
redndahead CreditAttribution: redndahead commentedSo 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
Comment #5
redndahead CreditAttribution: redndahead commented