• Resolved brack

    (@brack)


    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)
  • Same problem here I need two sliders on one page both having different sizes..

    I found the solution go to your settings -> media then set the thumbnail size to the desired size..

    Thread Starter brack

    (@brack)

    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

    (@brack)

    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. Please use the pastebin]

    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

    (@brack)

    ok killed one nav bar by remove_action but still cannot make the bar move according to shown image. Found nice jquery plugin here https://www.smoothdivscroll.com/ but cannot make it work.

    Plugin Author Micah Wood

    (@woodent)

    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

    (@brack)

    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

    (@woodent)

    You might can find a jQuery slider plugin that you could adapt. I haven’t really delved into implementing this just yet.

    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. Please use the pastebin]

    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.