At backend:
I input 6 product images at configurable product and input 3 product images
at each associated products(attribute color : black, white) of this configurable product .

At frontend:
If I go to product details page, I get thumbnail slider(one slide with 5 images) well.
And then, I get thumbnail slider (slide is wrong with 3 images) when I selected color option(eg.black).
If less than equal 5 product images, I don't want to show pre and next arrow when I selected color option(eg.black) .

I want to get as your demo -
http://demo3.cmsmart.net/dong/index.php/new-category/new-product-with-size-number-and-color.html