though a slideshow should require two or more pics to be called a slideshow, it might happen that there's only one image showing up. The fading effect then, it's not really pleasant. So I put a little "if" condition inside theme_views_slideshow_div_js:

if (sizeof($items) > 1) {
    $fade = isset($view->slideshow['fade']) ? $view->slideshow['fade'] : variable_get('views_slideshow_default_fade', VIEWS_SLIDESHOW_DEFAULT_FADE);
  $fade = $fade ? 'true' : 'false';
  
  } else {
    $fade = 'false';
  }

could you please provide an effective patch for that? maybe someone else is interested in that.

Comments

redndahead’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #280492: Don't rotate if only one