Simple jQuery Image Slider with Thumbnails – LittleSlideshow

Code Snippet:LittleSlideshow
Author: Nick H
Published: January 19, 2024
Last Updated: January 22, 2024
Downloads: 7,982
License: MIT
Edit Code online: View on CodePen
Read More

A lightweight plugin to create an awesome image slider/slideshow with thumbnails. jQuery LittleSlideshow plugin gets images from the user and automatically generates a thumbnail based image slider.

Main Features

  1. Fully Responsive and compatible with Bootstrap v3
  2. Displays multiple images at one time
  3. Automatically generate thumbnails that are centered below
  4. Focus on the current image
  5. Option to auto-play slideshow
  6. Set max width and max height for images and thumbnails

How to Create Image Slider with Thumbnails

1. Load the jQuery and LittleSlideshow Js and CSS files into HTML document.

<script src=''></script>
<!-- LittleSlideshow JS-->
<script src="js/littleslideshow.min.js"></script>
<!--LittleSlideShow CSS-->
<link rel="stylesheet" href="css/littleslideshow.min.css">

2. Create a div element that will contain your image’s slideshow.

<div id="slideshow"></div>

3. Create an array of images in the jQuery document ready function.

var images = [
{ src: '',  // address of your image
  alt: ''  //alt text for image
{src: '', // address of your image
  alt: '' //alt text for image

4. Call the plugin and insert the image array into it to activate the slideshow.


That’s all! hopefully, you have successfully created an image slider with thumbnails. If you have any questions or suggestions feel free to comment below.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About CodeHim

Free Web Design Code & Scripts - CodeHim is one of the BEST developer websites that provide web designers and developers with a simple way to preview and download a variety of free code & scripts. All codes published on CodeHim are open source, distributed under OSD-compliant license which grants all the rights to use, study, change and share the software in modified and unmodified form. Before publishing, we test and review each code snippet to avoid errors, but we cannot warrant the full correctness of all content. All trademarks, trade names, logos, and icons are the property of their respective owners... find out more...

Please Rel0ad/PressF5 this page if you can't click the download/preview link