Gallery Bank: WordPress Photo Gallery Plugin - Version 3.0.51

Version Description

  • Social Icons Added to Lightbox
Download this release

Release Info

Developer Gallery-Bank
Plugin Icon 128x128 Gallery Bank: WordPress Photo Gallery Plugin
Version 3.0.51
Comparing to
See all releases

Code changes from version 3.0.50 to 3.0.51

assets/css/prettyPhoto.css CHANGED
@@ -659,7 +659,8 @@ div.pp_pic_holder {
659
  float: left;
660
  margin-left: 5px;
661
  width: 55px;
662
- overflow: hidden
 
663
  }
664
 
665
  .pp_social .twitter {
659
  float: left;
660
  margin-left: 5px;
661
  width: 55px;
662
+ overflow: hidden;
663
+ display: inline;
664
  }
665
 
666
  .pp_social .twitter {
assets/js/jquery.prettyPhoto.js CHANGED
@@ -399,8 +399,7 @@
399
  iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
400
  inline_markup: '<div class="pp_inline">{content}</div>',
401
  custom_markup: "",
402
- social_tools: ''
403
- //social_tools : '<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'
404
  }, s);
405
  var o = this, u = false, a, f, l, c, h, p, d = e(window).height(), v = e(window).width(), m;
406
  doresize = true, scroll_pos = T();
399
  iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
400
  inline_markup: '<div class="pp_inline">{content}</div>',
401
  custom_markup: "",
402
+ social_tools: '<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>' /* html or false to disable */
 
403
  }, s);
404
  var o = this, u = false, a, f, l, c, h, p, d = e(window).height(), v = e(window).width(), m;
405
  doresize = true, scroll_pos = T();
front_views/includes_common_after.php CHANGED
@@ -238,9 +238,27 @@ if($album_type == "images")
238
  autoplay_slideshow: <?php echo $autoplay;?>,
239
  opacity: 0.80,
240
  show_title: false,
241
- allow_resize: true
 
242
  });
243
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  </script>
245
  <?php
246
  }
238
  autoplay_slideshow: <?php echo $autoplay;?>,
239
  opacity: 0.80,
240
  show_title: false,
241
+ allow_resize: true,
242
+ changepicturecallback: onPictureChanged
243
  });
244
  });
245
+
246
+ function onPictureChanged()
247
+ {
248
+
249
+ jQuery('.pp_social').append('<div style="margin-left:27px; display:inline-block;"><g:plusone data-action="share" href="'+ encodeURIComponent(location.href.replace(location.hash,"")) +'" width="160px" ></g:plusone></div>');
250
+
251
+ jQuery('.pp_social').append("<script type='text/javascript'> \
252
+ (function() { \
253
+ var po = document.createElement('script'); \
254
+ po.type = 'text/javascript'; \
255
+ po.async = true; \
256
+ po.src = 'https://apis.google.com/js/plusone.js'; \
257
+ var s = document.getElementsByTagName('script')[0]; \
258
+ s.parentNode.insertBefore(po, s); \
259
+ })(); <" + "/" + "script>");
260
+
261
+ }
262
  </script>
263
  <?php
264
  }
gallery-bank.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://tech-banker.com
5
  Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
6
  Author: Tech Banker
7
- Version: 3.0.50
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin URI: http://tech-banker.com
5
  Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
6
  Author: Tech Banker
7
+ Version: 3.0.51
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link : http://tech-banker.com/gallery-bank/
4
  Tags: admin, AJAX, album, albums, best gallery, best gallery plugin, best portfolio plugin, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, flash, foto, fotoalbum, galerie, Galleria, gallery, gallery album, gallery bank, gallery image, Gallery Plugin, gallery wordpress plugin, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image slider, images, lightbox, links, media, modal, multiple pictures, nextgen, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio wordpress plugin, Post, posts, responsive gallery, seo image, shortcode, sidebar, slideshow, thumbnail, thumbnails, twitter, videos, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
- Stable tag: 3.0.50
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -52,7 +52,7 @@ It provides a powerful engine for uploading and managing galleries of images & v
52
 
53
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
54
 
55
- ***July 26, 2014: We're happy to announce that Gallery Bank reached 162,000+ plugin downloads in only 1 year. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
56
 
57
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
58
 
@@ -500,6 +500,10 @@ is False in shortcode.
500
 
501
  == Changelog ==
502
 
 
 
 
 
503
  = 3.0.50 =
504
 
505
  * Few Possible Security Issues Addressed
4
  Tags: admin, AJAX, album, albums, best gallery, best gallery plugin, best portfolio plugin, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, flash, foto, fotoalbum, galerie, Galleria, gallery, gallery album, gallery bank, gallery image, Gallery Plugin, gallery wordpress plugin, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image slider, images, lightbox, links, media, modal, multiple pictures, nextgen, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio wordpress plugin, Post, posts, responsive gallery, seo image, shortcode, sidebar, slideshow, thumbnail, thumbnails, twitter, videos, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
+ Stable tag: 3.0.51
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
52
 
53
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
54
 
55
+ ***July 28, 2014: We're happy to announce that Gallery Bank reached 162,800+ plugin downloads in only 1 year. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
56
 
57
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
58
 
500
 
501
  == Changelog ==
502
 
503
+ = 3.0.51 =
504
+
505
+ * Social Icons Added to Lightbox
506
+
507
  = 3.0.50 =
508
 
509
  * Few Possible Security Issues Addressed
views/includes_common_after.php CHANGED
@@ -8,7 +8,25 @@
8
  autoplay_slideshow: <?php echo $autoplay;?>,
9
  opacity: 0.80,
10
  show_title: false,
11
- allow_resize: true
 
12
  });
13
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  </script>
8
  autoplay_slideshow: <?php echo $autoplay;?>,
9
  opacity: 0.80,
10
  show_title: false,
11
+ allow_resize: true,
12
+ changepicturecallback: onPictureChanged
13
  });
14
  });
15
+
16
+ function onPictureChanged()
17
+ {
18
+
19
+ jQuery('.pp_social').append('<div style="margin-left:27px; display:inline-block;"><g:plusone data-action="share" href="'+ encodeURIComponent(location.href.replace(location.hash,"")) +'" width="160px" ></g:plusone></div>');
20
+
21
+ jQuery('.pp_social').append("<script type='text/javascript'> \
22
+ (function() { \
23
+ var po = document.createElement('script'); \
24
+ po.type = 'text/javascript'; \
25
+ po.async = true; \
26
+ po.src = 'https://apis.google.com/js/plusone.js'; \
27
+ var s = document.getElementsByTagName('script')[0]; \
28
+ s.parentNode.insertBefore(po, s); \
29
+ })(); <" + "/" + "script>");
30
+
31
+ }
32
  </script>