
|
Views Slideshow is the most popular module for creating slideshows in Drupal. Earlier this year we showed you how to use Views Slideshow to create a basic slideshow. One of our students read that tutorial and wondered about taking things further. They wanted to create a slideshow with smaller thumbnails, similar to the one you see on WhiteHouse.gov, Grammy.com and many other Drupal sites. In this tutorial, we show you how to create a more advanced slideshow, similar to those famous sites. ![]() Step 1: InstallationInstall and enable these four modules:
You're also going to need a single file that contains a JQuery slideshow script. This will need to be uploaded manually.
![]()
![]() Step 2: ViewsWe're going to create our slideshow using Views.
![]()
![]()
Once you're finished, your fields area should look like the area below. ![]()
![]()
![]()
![]()
![]() Step 3: DesignFirst, let's set up the correct style for our images:
Now let's create the style for our smaller thumbnails.
Now, we'll apply those styles to our View.
Now click Save and let's go see your slideshow.
The final remaining problem is going to be the vertical images. We can fix that with CSS.
As a final step, you will need to tweak your image styles and your CSS to match your design. Here's my end result, after this tutorial, and using dummy images: ![]() |

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
How do we make slideshow like the one that appears at the top of the page?
This tutorial takes you really pretty close. if you want to move the thumbnails to the side, rather than underneath, you'll need to do some CSS and PHP work to create a custom template for Views Slideshow. The same goes for having the text on top of the image.
Thank you for your reply, I managed to move the images using CSS.
I was wondering whether there is a way to make them all smaller when the window is re-sized?
I used:
max-width: 100%;
height: auto;
width: auto\9;
But didn't work, is it because I used a view and the images/thumbnai ls are dynamically added?
Thanks once again!
Chris
You need to have the images set up first, in my case I used the images I had for the products I created, I used the products option to bring up the list and then just selected the fields I required, i.e. images.
Hope this helps.
We don't address that in this tutorial but we do in our full Views Slidshow class: ostraining.com/.../slideshow
i want to change the images/thumbnai layout, how could i ?
thank you.