multiple fields from one node in views & views slideshow D7

johan Rautio's picture

So I hope someone can help me out here.
I have a view slideshow block, set to display fields all from one node.

One of the fields is a multi-value image file field with a max of 4, and one is a media field with media:youtube and media:Vimeo limited to 1.

My problem is getting those fields to display as separate slides.
The images are fine, but the media field will display on every slide as well rather than as a separate slide.

I can't for the life of me figure out how to get it working as I want to.
I would be willing to change to media embed module if that would make it easier, just seems like Media is the way to go these days.

Thanks in advance.

Comments

As you said, probably the

jdidelet's picture

As you said, probably the best way is to have only one field using for this media module which can handle image, video or audio in the same field. I can't give you more clue because I'm not using actually view slideshow block. Sorry!


Julien Didelet
Founder
Weblaa.com

The downside to media module

johan Rautio's picture

The downside to media module with embedded media field is that you can't actually upload from what I can tell so far.

So the images would need to be linked from a 3d party like photobucket, or picassa etc. which isn't very user friendly.

I'm still at a loss here.

Of course you can upload

jdidelet's picture

Of course you can upload files. I'm using media files and I can upload images. And for video, you can record link to a third video (YouTube, Vimeo, Youku...).


Julien Didelet
Founder
Weblaa.com

That would seem

johan Rautio's picture

That would seem logical.
However for me it would only display a text field, no upload button etc.
Well anyhow I found another way to solve it.

Solved it

johan Rautio's picture

Ok so I fixed it.
I removed the media module and embedded media field since they where causing some issues when trying to edit the nodes after adding a video link.

The solution I used is:

1.Install field collection module, video_embed_field and Field slideshow.

  1. Setup a new field collection in the content type, navigate to "structure/field collections" and edit the new field collection you just created.
    Add an image field and the video embed field and make what ever adjustments you need.

  2. configure any image cache presets etc. in the field collections "manage display" tab and save.

  3. setup the view to display the new field collection in the slideshow.

I'm curious

sourcesqr's picture

Is field collection really necessary for this setup? Can't field_slideshow takes care of multiple images from image field already?

It can, but I also needed a

johan Rautio's picture

It can, but I also needed a video from the same node which is what caused the problem.

What happened then was that views slideshow would duplicate the video from the video field with each image from the multiple values of the image field.

Hong Kong - 香港

Group categories

HKDUG Vocabulary

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: