Categories

Simple Image Gallery

Template-help.com Team November 15, 2010
Rating: 1.0/5. From 2 votes.
Please wait...

This is a Simple Image Gallery plug-in that is using several basic jQuery functions.

JavaScript
Below you can see the jQuery script representation. This script does not require any configuration.

HTML
Below you can see the example of gallery HTML coding:

Here the big image which is placed to the <dt> tag gets id #largeImg. When you click the thumbnails (small images), the path to the big picture is replaced by the link that is specified by href parameter for each thumbnail. Each thumbnail itself is placed to the <dd> tag.
In order to add a certain amount of thumbnails you need to add the following structure to the gallery HTML coding:  

Here images/big-image2.jpg is the path to the big image and images/sm-image2.jpg is the path to the small image. Usually you just need to change the image filename.

This entry was posted in Gallery and tagged gallery, jQuery. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket