Title: [plugin: Promotion slider]Thumbnails size filter
Last modified: August 19, 2016

---

# [plugin: Promotion slider]Thumbnails size filter

 *  Resolved [brack](https://wordpress.org/support/users/brack/)
 * (@brack)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/)
 * I have rotator on the front page using thumbnails, default thumbnail size is ‘
   thumb’ according to documentation. Now, I want thumbnails to be 205x70px and 
   I do following code in functions.php file:
 *     ```
       if(!function_exists('my_rotator_thumbnails')) {
       	function my_rotator_thumbnails($thumb_size){
       		$width = 205;
       		$height = 70;
       		$thumb_size = array($width,$height);
       		return $thumb_size;
       	}
   
       	add_filter('promoslider_thumb_size','my_rotator_thumbnails',1);
       }
       ```
   
 * But it doesnt change anything in slider look, how do I change thumbnail size 
   then? The code inserted in header.php is
    `<?php echo do_shortcode('[promoslider
   category="fp_rotator" time_delay="9" height="304px" width="950px" display_nav
   ="thumb"]') ?>`

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [CoenPonsen](https://wordpress.org/support/users/coenponsen/)
 * (@coenponsen)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065942)
 * Same problem here I need two sliders on one page both having different sizes..
 *  [CoenPonsen](https://wordpress.org/support/users/coenponsen/)
 * (@coenponsen)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065944)
 * I found the solution go to your settings -> media then set the thumbnail size
   to the desired size..
 *  Thread Starter [brack](https://wordpress.org/support/users/brack/)
 * (@brack)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065949)
 * The problem with this solution is that I want to use default size of thumbnails
   in other places. However, after some manipulations with style.css and disabling”
   Crop thumbnail to exact dimensions (normally thumbnails are proportional)” in
   Media settings, I’ve got thumbnails of correct sizes but then I faced different
   issue – the number of thumbnails in nav bar is too many and they dont feet into
   one row. I would really like to make it possible to slide the nav thumbnails 
   automatically, showing the active thumbnail in the center.
    Well, everything 
   bumps into using API, would really like to make custom nav bar, just luck of 
   documentation.
 *  Thread Starter [brack](https://wordpress.org/support/users/brack/)
 * (@brack)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065950)
 * Ok, I found that I should be able to completely override nav bar using promoslider_thumbnail_nav
   hook, so I just did that:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * but now I have two nav bars, for some reason the hook didnt overrinde the old
   function but duplicated it. How to get rid of old function then?
 *  Thread Starter [brack](https://wordpress.org/support/users/brack/)
 * (@brack)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065953)
 * ok killed one nav bar by remove_action but still cannot make the bar move according
   to shown image. Found nice jquery plugin here [http://www.smoothdivscroll.com/](http://www.smoothdivscroll.com/)
   but cannot make it work.
 *  Plugin Author [Micah Wood](https://wordpress.org/support/users/woodent/)
 * (@woodent)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065968)
 * Sorry, I can’t help you with the smooth scroll plugin, but I do intend to add
   the scrolling thumbnail nav soon.
 * I am going to take a closer look at the code for customizing the thumbnail size
   as well.
 * Thanks!
 *  Thread Starter [brack](https://wordpress.org/support/users/brack/)
 * (@brack)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2065970)
 * thank you for respond woodent, I dont really care about smooth scroll, I need
   to fit a over 10 slides with thumbnail navigation, and there is no way to fit
   those thumbs in 900px so, the only hope is to be able to scroll these thumbs,
   do you have an idea how to make it? any suggestion?
 *  Plugin Author [Micah Wood](https://wordpress.org/support/users/woodent/)
 * (@woodent)
 * [15 years ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2066013)
 * You might can find a jQuery slider plugin that you could adapt. I haven’t really
   delved into implementing this just yet.
 *  [alexandra.gaidacs](https://wordpress.org/support/users/alexandragaidacs/)
 * (@alexandragaidacs)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2066084)
 * I found a intermediate sollution, with a jquery script in header. Here it’s the
   code, maybe it will help you until the next release of this great plugin.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Also, it is needed to change the width of .promo_slider_thumb_nav .thumb_nav 
   at line 33, to omake fitt all thumb.
    Hope that it will help you.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[plugin: Promotion slider]Thumbnails size filter’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/promotion-slider.svg)
 * [Promotion Slider](https://wordpress.org/plugins/promotion-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/promotion-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/promotion-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/promotion-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/promotion-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/promotion-slider/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [alexandra.gaidacs](https://wordpress.org/support/users/alexandragaidacs/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/thumbnails-size-filter/#post-2066084)
 * Status: resolved