Show only 1 image

Permalink Browser Info Environment
Hi - is there a way to only show 1 image in the slider? I have a template built to use the slider in all pages as the header image, but on some of my pages I only have 1 image I want to show and right now I have to add 2 versions of that image in order to get one to show up.

Thanks!

Type: Pre-Sale
Status: In Progress
schopie1
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
You can, it's just a js check prevent u from add a slider with less than 2 slide. Open
\packages\whale_nivo_slider\blocks\whale_nivo_slider\auto.js: line 126:
if( qIDs.length<2 ){

and replace 2 with 1 and you should be fine.

concrete5 Environment Information

5.6

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.