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 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.
Comment | File | Size | Author |
---|---|---|---|
#7 | rs-view-image-field-settings.jpg | 137.93 KB | thijsvdanker |
#3 | royalslider_thumbnails.png | 52.42 KB | thijsvdanker |
Comments
Comment #1
thijsvdanker CreditAttribution: thijsvdanker commentedAre you using the views version or the field display?
Comment #2
b3nji CreditAttribution: b3nji commentedI'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
Comment #3
thijsvdanker CreditAttribution: thijsvdanker commentedThis 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).
Comment #4
pelicani CreditAttribution: pelicani commentedOMB, 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.
Comment #5
thijsvdanker CreditAttribution: thijsvdanker commented@pecilani :) glad it works for you.
My break is over, but I did enjoy it!
Comment #6
atpkpe CreditAttribution: atpkpe commentedHello, can you guide me to the url where these can be set
Br Kim
Comment #7
thijsvdanker CreditAttribution: thijsvdanker as a volunteer and commentedHi @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.
Comment #8
thijsvdanker CreditAttribution: thijsvdanker as a volunteer and commentedThe 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.