ThumbnailHover mode does not work for views of a single node's FileField w/ multiple values.

speis - January 23, 2009 - 16:32
Project:Views Slideshow
Version:6.x-2.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

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

#1

basicmagic.net - January 31, 2009 - 20:44

subscribe

#2

dragonwize - February 2, 2009 - 04:15
Category:support request» feature request
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.

#3

drupal999 - February 8, 2009 - 03:01

subscribe

#4

bigkevracer - February 8, 2009 - 03:04

subscribe

#5

kockenque - February 15, 2009 - 22:17

subscribe

#6

Careless - February 19, 2009 - 17:46

subscribe

#7

tecto - June 10, 2009 - 03:36

subscribe

#8

eQasion - June 10, 2009 - 20:54

subscribe

#9

glennnz - July 14, 2009 - 09:37

Subscribe

Timeframe for implementation?

Thanks

#10

dhartman - August 22, 2009 - 18:27

subscribe

#11

redndahead - August 24, 2009 - 20:47

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.

#12

aaron - August 24, 2009 - 21:07

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.

#13

fearlsgroove - August 24, 2009 - 22:37

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

#14

gjk - August 24, 2009 - 23:45

Subscribing.

#15

redndahead - August 26, 2009 - 05:25
Version:6.x-1.x-dev» 6.x-2.x-dev

#16

adamo - September 9, 2009 - 05:19

Subscribing.

#17

bara.munchies - November 8, 2009 - 07:33

sub/e

#18

BeatnikDude - November 21, 2009 - 00:41

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.

#19

fearlsgroove - November 21, 2009 - 15:08
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

#20

BeatnikDude - November 23, 2009 - 01:32
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.

#21

fearlsgroove - November 23, 2009 - 23:13
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.

#22

BeatnikDude - November 25, 2009 - 00:58

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

#23

fearlsgroove - November 25, 2009 - 21:55

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

#24

strands - November 26, 2009 - 14:34

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);

#25

BeatnikDude - November 27, 2009 - 08:11

@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.

#26

BeatnikDude - November 27, 2009 - 08:20

@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);
  }

 
 

Drupal is a registered trademark of Dries Buytaert.