Hi there,

I am using imagefield/imagecache/filefield successfully in D6.
I am now testing views slideshow with this, to create a block in the sidebar, which cycles though the pics.

This is working great with views_slideshow, to the point where it displays the node where there are more than one image. Instead of just one little thumbnail image, you get for example, 10 little thumbs beneath each other.

Imagefield supports the upload of multiple images in a node, this is a little bit better when having to upload multiple images, but not having to create a new node each time. But in the view slideshow, this is a problem, you'll get multiple images instead of 1.

What can i do about this, or should i stick to the one-image-per-node theory?

Thanks

Comments

basicmagic.net’s picture

subscribe

dragonwize’s picture

Category: support » feature
Status: Active » Postponed

Multi-value fields are currently not supported. Marking this as postponed and will fix for a later release.

As a temporary solution you can check out this nice method http://raincitystudios.com/blogs-and-pods/hubert/a-simple-ajax-image-gal... It doesn't do automatic cycling but if you don't need that it is a quick solution for a single multi-value node.

drupal999’s picture

subscribe

bigkevracer’s picture

subscribe

kockenque’s picture

subscribe

Anonymous’s picture

subscribe

tecto’s picture

subscribe

darrellhq’s picture

subscribe

glennnz’s picture

Subscribe

Timeframe for implementation?

Thanks

dhartman’s picture

subscribe

redndahead’s picture

I'm not positive that this is something that views_slideshow should handle. The point of this module is to slideshow a listing from views. If you want to slideshow a listing from attachments I would look at something like http://drupal.org/project/galleria or something like that.

aaron’s picture

Might be nice, actually, to have Views Slideshow work with File views, which might offer another alternative (though no reference to nodes, because of dropping nid from the files table in d6).

It's a larger question, that I've encountered in other types of views than Views Slideshow. Not sure of the best answer at this time.

fearlsgroove’s picture

One of the things I'm hoping to work on soon is to implement field support in breakout hover mode, where you can assign which field(s) goes to the main view and which field(s) go to the breakout mode. This would allow you to uncheck the "group" setting for the multiple image field and have those entries show up as separate rows. That would do what you're describing, I think.

Unfortunately it's not built yet :D

gjk’s picture

Subscribing.

redndahead’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
adamo’s picture

Subscribing.

Anonymous’s picture

sub/e

beatnikdude’s picture

Views can access a single node's field of multiple values. The implementation of a slideshow for any group of data w/in a node seems an obvious use.

SingleFrame mode does work to display a single node's fields, but ThumbnailHover mode does not. I am presented with my full node in the slideshow area when I try to use it this way. (6.x-2.x-dev)

FYI: The Galleria Module integrates with jCarrousel and this hack works for auto advance: http://drupal.org/node/632650

thanks for all great work.

fearlsgroove’s picture

Status: Postponed » Fixed

With the fields support for thumbnail hover this should work fine now. (You'll need to use the dev version.) If you want to display only one row per node when you've got multiples, leave the "Group multiples" for the relevant field checked in views. If you want one row per mutiple, uncheck that box. Lemme know if I'm misunderstanding the requirement

beatnikdude’s picture

Title: Node with multiple images » ThumbnailHover mode does not work for views of a single node's FileField w/ multiple values.
Status: Fixed » Postponed

If you create a view of a single node's field w/ multiple values you get a set of thumbnails, but with ThumbnailHover mode the top portion displays a full node that refreshes every time you roll over a thumbnail.

fearlsgroove’s picture

Status: Postponed » Postponed (maintainer needs more info)

I might be thick, but I don't understand what the requirement is here. Views handles mutiples with a join, and offers a "Group multiple" option on that field in order to limit those multiples to a specific number, such as one. By removing group multiple, each entry becomes it's own row.

The newly added feature to thumbnail hover allows you to use fields, and choose which fields display in the thumbnail and in the main section. That should satisfy any such requirement. If you need a more advanced display you'd have to do some custom theming.

Perhaps the confusion is over node view in thumbnail hover? This is never going to work -- it's too difficult and far too much of an edge case.

beatnikdude’s picture

I don't think that a slideshow of fields (ie imagefields) w/in a node is fringe. I can build this view simply.

But now I see that you can not define the the fields, only display the teaser or node. My confusion.
It would be nice to be able to define the fields displayed.
Thanks

fearlsgroove’s picture

@BeatnikDude: this feature is in the 2.x-dev version, please try it out.

strands’s picture

I can confirm this feature works fine for me in 2.x-dev
Thanks.

EDIT:

The output order doesn't seem to be correct for the controls and the image counter e.g. the controls don't display after the images if set to do so in the views settings.

I think in views-slideshow-thumbnailhover.tpl.php you need to replace

print theme('views_slideshow_thumbnailhover_image_count', $id, $view, $options);

with

$output .= print theme('views_slideshow_thumbnailhover_image_count', $id, $view, $options);
beatnikdude’s picture

@fearlsgroove, I have updated to 2.x-dev. Thanks, dig that feature, multiple sites using dev version now.

But, my specific need is to have a view of single node's imagefield w/ multiple images. I am still having trouble, lays out great. But when I switch to a view on a single node, the hover action does not happen.

beatnikdude’s picture

@strands,
I assume the view you are creating is more than one node?
&
Thanks for the notes, I think it is more like changing:
./views_slideshow/contrib/views_slideshow_thumbnailhover/views-slideshow-thumbnailhover.tpl.php

FROM:

  if ($options['thumbnailhover']['controls'] == 2) {
    print theme('views_slideshow_thumbnailhover_controls',$id, $view, $options);
  }
  if ($options['thumbnailhover']['image_count'] == 2) {
    print theme('views_slideshow_thumbnailhover_image_count', $id, $view, $options);
  }

TO:

  if ($options['thumbnailhover']['controls'] == 2) {
    $output .= theme('views_slideshow_thumbnailhover_controls',$id, $view, $options);
  }
  if ($options['thumbnailhover']['image_count'] == 2) {
    $output .= theme('views_slideshow_thumbnailhover_image_count', $id, $view, $options);
  }

update: see http://drupal.org/node/645708

strands’s picture

No, the view is just of a single node.

Re your changes - exactly. The print in my second line above shouldn't be there ...

fearlsgroove’s picture

@Beatnik: can you post or email an example?

beatnikdude’s picture

@fearlsgroove,
Here is my views export and an image of the test page with a single node via the argument, these are all images from a single imagefield w/ multiple values.

The slideshow does not transition, thumbnails do not trigger rollover, nor do the image numbers ("# of #") display.

If I add another node with images, additional thumbnails show and the slideshow advances, but the first 5 images (the ones there currently) trigger rollover but as a group (not between themselves).

I hope I am missing something simple.
I currently using Galleria Module on this site as well but would rather use Views SlideShow as my single solution.

-THANKS

wilgrace’s picture

@BeatnikDude, I'm after the same functionality.

Using Content_Profile and Imagefield with multiple images, so each user has a single node on their profile page. I'd like to display all the images that user has uploaded via imagefield into their (single node) profile. I dont want to cycle through other nodes or images.

I can only get this module to cycle through multiple nodes - I can't tell from the comments above whether it's supposed to be able to pull from ONLY a single node (in my case, related to the user profile). I can't even get it working in SingleFrame mode - still just getting the full node

I'm going to check out Galleria, but would far rather use this module

veikko’s picture

subscribe

fearlsgroove’s picture

@BeatnikDude, sorry for the late response. The key to getting this to work is to uncheck "Group multiple values" on each of the fields that have multiples. So for your 2 "pics" instances in the view, go to settings and uncheck the group multiple values option.

The difference here is that this causes each value of the multiple to appear as a separate row, which is what we want it to do in this case. I'm doing exactly this on several prod implementations right now and it works like a champ. Hope that clears it up! Please mark fixed if so ..

veikko’s picture

Also the "Grouping field" option under Slideshow settings has to be set to "". I had accidentally changed it and therefore did not get the proper result.

beatnikdude’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

@fearlsgroove, thanks for your help, the "Group multiple values" was the key.

I was able to create a block for a node that displays that nodes single imagefield w/ multiple values as a slideshow w/ thumbnails.

squarecandy’s picture

Thank you! Current dev version works great for me.

I've done this with previous versions for a single slideshow where the slide and caption are each their own node... but the current project I'm working on I wanted a similar slideshow w/ the hover breakouts for each page of a certain content type. I 'spose you could do this with a node reference field, but that would get very cumbersome for whoever updates the site.

This makes it so easy! Thanks again.

gausarts’s picture

Just a note for future seeker, also leave "Distinct" unchecked.

edulterado’s picture

Interested in this topic.
Subscribing.