I have a slider set up with navigation set to thumbnail. The main stage images are showing but not thumbnails. The thumbnail DIV containers are there but not the thumbnails themselves.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thijsvdanker’s picture

Are you using the views version or the field display?

b3nji’s picture

I'm using the Views version - I created a block with Display format: Slideshow > Fields

Fields:
Content:Title
Content:Image (Formatter: Image)

Royalslider Options
Option set: Default
Skin: Default
Image: Content:image
Caption: Content:Title

Default Option set
Navigation: Thumbnail

thijsvdanker’s picture

FileSize
52.42 KB

This is currently not working in the views implementation.

To really fix this we have two options or could do both:
a) add another dropdown option in the views slideshow settings where you can select a thumbnail field.
b) preprocess the image field (as it is done in the field display version of the slideshow).

I'll be enjoying a little break in the upcoming two weeks, so I won't be able to provide a patch for this. If anyone could, it would be awesome :)

@b3nji: There is a quick-fix though: if you add your thumbnail field to the view, and give it a rsTmb class, it'll be used as the thumbnail.
It worked for me after stripping of the label wrapper (see screenshot).

royalslider_thumbnails.png

pelicani’s picture

OMB, I spent hours yesterday trying to figure this out.
This quick fix works!!!
Thanks for posting, glad I found this post.
Enjoy your break, and thanks for integrating the royal slider to drupal.

thijsvdanker’s picture

@pecilani :) glad it works for you.
My break is over, but I did enjoy it!

atpkpe’s picture

Hello, can you guide me to the url where these can be set
Br Kim

thijsvdanker’s picture

Issue summary: View changes
FileSize
137.93 KB

Hi @atpke

If you still need an answer after 10 months, sorry for the long wait :)
The screen I described in the quick fix is the field configuration screen in views for the field that contains the image.

thijsvdanker’s picture

Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Category: Bug report » Feature request

The workaround described in this issue can get the job done.
It would be nice to get this feature into the module, but it's not something I'm planning to do.
Changing the issue from a bug to a feature request.