Stylish jQuery Gallery Grid with Lightbox Support mb thumbGrid - Download Stylish jQuery Gallery Grid with Lightbox Support - mb.thumbGrid

Download Stylish jQuery Gallery Grid with Lightbox Support – mb.thumbGrid

Posted on

This time I will share jQuery Plugin and tutorial about Stylish jQuery Gallery Grid with Lightbox Support – mb.thumbGrid, hope it will help you in programming stack.

Stylish jQuery Gallery Grid with Lightbox Support mb thumbGrid - Download Stylish jQuery Gallery Grid with Lightbox Support - mb.thumbGrid
File Size: 9.49 MB
Views Total: 25493
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

mb.thumbGrid is a jQuery gallery plugin used to display a grid of thumbnails as a slideshow with fancy CSS3 transitions. When you click on a thumbnail, the high resolution image will be displayed in a responsive lightbox that allows you to navigation through images with arrow controls.

How to use it:

1. Include the jQuery library together with jQuery mb.browser plugin and jQuery mb.CSSAnimate plugin in the document.

1 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
2 <script src="js/jquery.mb.browser.min.js"></script>
3 <script src="js/jquery.mb.CSSAnimate.min.js"></script>

2. Include the jQuery mb.thumbGrid’s script and CSS after jQuery library.

1 <script src="js/jquery.mb.thumbGrid.js"></script>
2 <link rel="stylesheet" href="css/thumbGrid.css">

3. Insert images into a container as follows. Use the data-highres attribute to specify the high-res image sources. All the options can be passed via Javascript on initialization or via Html5 data-attributes in container element.

01 <div id="thumbGrid"
02      data-thumbgrid="true"
03      data-effect="scaleIn"
04      data-delay="60"
05      data-timing="800"
06      data-pagination="6"
07      data-galleryeffectnext="scaleIn"
08      data-galleryeffectprev="scaleOut">
09  
10   <img src="img/thumb-1.jpg"
11      alt="img01"
12      data-highres="large-1.jpg"
13      data-caption="Image caption">
14  
15   <img src="img/thumb-2.jpg"
16      alt="img02"
17      data-highres="large-2.jpg"
18      data-caption="Image caption">
19  
20   <img src="img/thumb-3.jpg"
21      alt="img03"
22      data-highres="large-3.jpg"
23      data-caption="Image caption">
24  
25 ...
26  
27 </div>

4. Initialize the plugin.

1 jQuery("[data-thumbgrid]").thumbGrid();

5. Options and defaults.

01 // zoom, fade_zoom, slide_vertical
02 // slide_horizontal, slide_inverse, rotate
03 nav_effect: "slide_horizontal",
04 nav_delay: 60,
05 nav_delay_inverse: 1,
06 nav_timing: 800,
07 nav_pagination: 6,
08 nav_show: true,
09  
10 // zoom, fade_zoom, slide_vertical
11 // slide_horizontal, slide_inverse, rotate
12 gallery_effect: "slide_horizontal",
13 gallery_timing: 500,
14 gallery_cover: false,
15 thumb_fit: false,
16 full_inline: false,
17 full_inline_height: 500,
18 gallery_fullscreen_w: "100%",
19 gallery_fullscreen_h: "100%",
20 showIndexinFullscreen: false,
21 clever_transition: true,
22 ease: "cubic-bezier(0.19, 1, 0.22, 1)",
23 thumb_ratio: 1,
24  
25 // callbacks
26 onSlide           : function (grid) {},
27 onFullScreen      : function (grid) {},
28 onExitFullScreen  : function (grid) {},
29 onFullscreenChange: function (grid) {}

Change logs:

2018-05-05

  • v1.3.1

2017-12-04

  • Bug fix for full inline gallery when lunched the lightbox

2017-11-29

  • Bug fix: transitions were not always correct

2017-11-27

  • New feature: inline gallery

2017-05-12

  • v1.3.1: various fix

2016-07-02

  • various fix

2016-06-24

  • update and fix for jQuery 3.0.0

2015-09-16

  • various fix

2015-06-28

  • Added some event callbacks and the possibiliti to manage content different that images inside the gallery.

2015-06-24

  • various fix

2015-06-08

  • Implemented touch device support with swipe functionality

2015-05-27

  • various fix

2015-05-21

  • v. 1.3.1

2015-05-18

  • various fix

2015-05-17

  • reformulate the CSS animations for better performance. FF still have problems if filters are applied

2015-05-14

  • Bug fix: if the thumbnail slider animation did not end while changing slide the index of the image to show was lost. Now you can’t change slide if the animation is not finished.

2015-05-05

  • various fix

2015-03-25

  • various update

2015-03-18

  • various fix

2015-03-17

  • various fix

2015-01-29

  • various fix

2014-11-20

  • various fix

2014-09-25

  • various fix

2014-09-24

  • various fix

2014-09-16

  • various fix

2014-09-15

  • various fix

2014-09-14

  • various fix

2014-09-07

  • various fix

 


This awesome jQuery plugin is developed by pupunzi. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net