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.
By davidee on
Hello everybody,
I have a very simple question: How can I change the size of a slideshow-thumbnail (module: Views Slideshow)?
Normaly the size is set to 75px x 75px, but I want to scale and crop the thumbnail to 150px x 150px.
I hope someone can help me.
Thanks!
Davidee
Comments
Familiarize yourself with the
Familiarize yourself with the Imagecache module.
While Imagecache lets you
While Imagecache lets you resize and alter images with its presets, in the Views Slideshow module you are NOT able to select another imagecache present to be used for the pager thumbnails displayed. Currently I am thinking of adding another image upload to my content type that allows you then to select this smaller (and possibly different) image (with imagecache preset) to be used as the thumbnail and the Views Slideshow-Hover option.
- In Views Slideshow Singleframe is there a way to use another imagecache preset for the pager thumbnail only?
- Can the size of the thumbnail be addresses otherwise (maybe internal slideshow option)?
Thanks in advance
If you just need some quick css...
If you just need some quick css...
.views_slideshow_singleframe_pager div a img {
width: 150px;
height: 150px;
}
Cheers, Leah
views thumbs
Thank you, thats exactly what i needed!
Something like this in CSS
Something like this in CSS worked for me to get the thumbnails inline - maybe it was overkill, but I got tired of hunting:
I need to fix the thumbnails
I need to fix the thumbnails too and I thought about your snippet of code, am I wrong or this code would affect every other slideshow? I just need to change the size of the thumbnails for my frontpage slideshow, because the images are "very rectangular" and don't look good with the original values (width:75px and height:75px) or whatever width=height value for that matter. Is there a way to use it only for my frontpage slideshow?
Being allowed to use an imagecache preset as thumbnails would have been a great thing...
Thanks!