Gallery Bank: WordPress Photo Gallery Plugin - Version 2.0.15

Version Description

  • Fixed Bugs with Saving Albums
Download this release

Release Info

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

Code changes from version 2.0.14 to 2.0.15

.project ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>gallery-bank</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ </buildSpec>
9
+ <natures>
10
+ <nature>com.aptana.projects.webnature</nature>
11
+ </natures>
12
+ </projectDescription>
assets/css/colorbox.css CHANGED
@@ -21,21 +21,21 @@
21
  */
22
  #cboxOverlay{background:#fff;}
23
  #colorbox{outline:0;}
24
- #cboxTopLeft{width:25px; height:25px; background:url(../images/border1.png) no-repeat 0 0;}
25
- #cboxTopCenter{height:25px; background:url(../images/border1.png) repeat-x 0 -50px;}
26
- #cboxTopRight{width:25px; height:25px; background:url(../images/border1.png) no-repeat -25px 0;}
27
- #cboxBottomLeft{width:25px; height:25px; background:url(../images/border1.png) no-repeat 0 -25px;}
28
- #cboxBottomCenter{height:25px; background:url(../images/border1.png) repeat-x 0 -75px;}
29
- #cboxBottomRight{width:25px; height:25px; background:url(../images/border1.png) no-repeat -25px -25px;}
30
- #cboxMiddleLeft{width:25px; background:url(../images/border2.png) repeat-y 0 0;}
31
- #cboxMiddleRight{width:25px; background:url(../images/border2.png) repeat-y -25px 0;}
32
  #cboxContent{background:#fff; overflow:hidden;}
33
  .cboxIframe{background:#fff;}
34
  #cboxError{padding:50px; border:1px solid #ccc;}
35
  #cboxLoadedContent{margin-bottom:20px;}
36
  #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
37
  #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
38
- #cboxLoadingOverlay{background:#fff url(../images/loading.gif) no-repeat 5px 5px;}
39
 
40
  /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
41
  #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
@@ -49,8 +49,8 @@
49
  #cboxClose{
50
  position: absolute;
51
  bottom: 0;
52
- right: 0;
53
- background: url(../images/controls.png) no-repeat -25px 0;
54
  width: 25px;
55
  height: 25px;
56
  text-indent: -9999px;
21
  */
22
  #cboxOverlay{background:#fff;}
23
  #colorbox{outline:0;}
24
+ #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
25
+ #cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
26
+ #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
27
+ #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 -25px;}
28
+ #cboxBottomCenter{height:25px; background:url(images/border1.png) repeat-x 0 -75px;}
29
+ #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px -25px;}
30
+ #cboxMiddleLeft{width:25px; background:url(images/border2.png) repeat-y 0 0;}
31
+ #cboxMiddleRight{width:25px; background:url(images/border2.png) repeat-y -25px 0;}
32
  #cboxContent{background:#fff; overflow:hidden;}
33
  .cboxIframe{background:#fff;}
34
  #cboxError{padding:50px; border:1px solid #ccc;}
35
  #cboxLoadedContent{margin-bottom:20px;}
36
  #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
37
  #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
38
+ #cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
39
 
40
  /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
41
  #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
49
  #cboxClose{
50
  position: absolute;
51
  bottom: 0;
52
+ right: 0;
53
+ background: url(images/controls.png) no-repeat -25px 0;
54
  width: 25px;
55
  height: 25px;
56
  text-indent: -9999px;
gallery-bank.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://gallery-bank.com
5
  Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
6
  Author: Gallery-Bank
7
- Version: 2.0.14
8
  Author URI: http://gallery-bank.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin URI: http://gallery-bank.com
5
  Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
6
  Author: Gallery-Bank
7
+ Version: 2.0.15
8
  Author URI: http://gallery-bank.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
lib/album-gallery-bank-class.php CHANGED
@@ -425,6 +425,14 @@ else
425
  {
426
  $pic_id = intval($_REQUEST['picId']);
427
  $albumId = intval($_REQUEST['albumId']);
 
 
 
 
 
 
 
 
428
  $ux_edit_video_type1 = esc_attr($_REQUEST['ux_edit_video_type']);
429
  if($ux_edit_video_type1 == "undefined"){
430
  $ux_edit_video_type = "";
@@ -433,7 +441,7 @@ else
433
  }
434
  $ux_edit_video_url1 = esc_attr($_REQUEST['ux_edit_video_url']);
435
  if($ux_edit_video_url1 == "undefined"){
436
- $ux_edit_video_url = "";
437
  }else{
438
  $ux_edit_video_url = $ux_edit_video_url1;
439
  }
425
  {
426
  $pic_id = intval($_REQUEST['picId']);
427
  $albumId = intval($_REQUEST['albumId']);
428
+ $video_pic_path = $wpdb->get_var
429
+ (
430
+ $wpdb->prepare
431
+ (
432
+ "SELECT pic_path FROM ". gallery_bank_pics(). " WHERE pic_id = %d",
433
+ $pic_id
434
+ )
435
+ );
436
  $ux_edit_video_type1 = esc_attr($_REQUEST['ux_edit_video_type']);
437
  if($ux_edit_video_type1 == "undefined"){
438
  $ux_edit_video_type = "";
441
  }
442
  $ux_edit_video_url1 = esc_attr($_REQUEST['ux_edit_video_url']);
443
  if($ux_edit_video_url1 == "undefined"){
444
+ $ux_edit_video_url = $video_pic_path;
445
  }else{
446
  $ux_edit_video_url = $ux_edit_video_url1;
447
  }
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
  === Gallery Bank ===
2
  Contributors: Gallery-Bank
3
- Tags: gallery, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox, media,photo albums, picture, pictures, thumbnails, slideshow, admin, best gallery plugin, filterable gallery, filterable portfolio, gallery, gallery wordpress plugin, grid gallery, image album, images, page, photo albums, plugin, portfolio, portfolio wordpress plugin, Post, posts, widget, wordpress gallery plugin, wordpress portfolio plugin
4
 
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 2.0.14
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos galleries and albums.
12
 
13
  == Description ==
14
 
@@ -136,6 +136,10 @@ With this bulk deletion feature, you can now delete the pictures you want in bul
136
 
137
  == Changelog ==
138
 
 
 
 
 
139
  = 2.0.14 =
140
 
141
  * Introducing Videos in Gallery Bank
1
  === Gallery Bank ===
2
  Contributors: Gallery-Bank
3
+ Tags: gallery, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox, media,photo albums, picture, pictures, thumbnails, slideshow, admin, best gallery plugin, filterable gallery, filterable portfolio, gallery, gallery wordpress plugin, grid gallery, image album, images, page, photo albums, plugin, portfolio, portfolio wordpress plugin, Post, posts, widget, wordpress gallery plugin, wordpress portfolio plugin, videos
4
 
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 2.0.15
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos galleries ,videos and albums.
12
 
13
  == Description ==
14
 
136
 
137
  == Changelog ==
138
 
139
+ = 2.0.15 =
140
+
141
+ * Fixed Bugs with Saving Albums
142
+
143
  = 2.0.14 =
144
 
145
  * Introducing Videos in Gallery Bank
views/header.php CHANGED
@@ -29,6 +29,7 @@ $url = plugins_url('', __FILE__);
29
  {
30
 
31
  }
 
32
  ?>
33
 
34
 
29
  {
30
 
31
  }
32
+ include_once GALLERY_BK_PLUGIN_DIR .'/install-script.php';
33
  ?>
34
 
35