Gallery Bank: WordPress Photo Gallery Plugin - Version 3.1.34

Version Description

Download this release

Release Info

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

Code changes from version 3.1.33 to 3.1.34

front_views/includes_common_before.php CHANGED
@@ -460,6 +460,78 @@ switch ($album_type) {
460
  {
461
  margin :0px !important;
462
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  .thumbnail_width<?php echo $unique_id;?>
464
  {
465
  width: <?php echo $thumbnails_width;?>px !important;
@@ -482,6 +554,15 @@ switch ($album_type) {
482
  if($widget != "true")
483
  {
484
  ?>
 
 
 
 
 
 
 
 
 
485
  .imgLiquidFill
486
  {
487
  <?php
460
  {
461
  margin :0px !important;
462
  }
463
+ @media screen and (min-width : 319px) {
464
+ .thumbnail_width<?php echo $unique_id;?>
465
+ {
466
+ width: <?php echo $thumbnails_width/2;?>px !important;
467
+ height: <?php echo $thumbnails_height/2;?>px !important;
468
+ box-sizing: border-box !important;
469
+ }
470
+ }
471
+ @media screen and (min-width : 320px) and (max-width : 380px) {
472
+ .thumbnail_width<?php echo $unique_id;?>
473
+ {
474
+ width: <?php echo $thumbnails_width/2;?>px !important;
475
+ height: <?php echo $thumbnails_height/2;?>px !important;
476
+ box-sizing: border-box !important;
477
+ }
478
+ }
479
+ @media screen and (min-width : 320px) and (max-width : 568px) and (orientation : portrait) {
480
+ .thumbnail_width<?php echo $unique_id;?>
481
+ {
482
+ width: <?php echo $thumbnails_width/2;?>px !important;
483
+ height: <?php echo $thumbnails_height/2;?>px !important;
484
+ box-sizing: border-box !important;
485
+ }
486
+ }
487
+ @media screen and (min-width : 320px) and (max-width : 568px) and (orientation : landscape) {
488
+ .thumbnail_width<?php echo $unique_id;?>
489
+ {
490
+ width: <?php echo $thumbnails_width/2;?>px !important;
491
+ height: <?php echo $thumbnails_height/2;?>px !important;
492
+ box-sizing: border-box !important;
493
+ }
494
+ }
495
+ @media screen and (min-width : 320px) and (max-width : 568px) {
496
+ .thumbnail_width<?php echo $unique_id;?>
497
+ {
498
+ width: <?php echo $thumbnails_width/2;?>px !important;
499
+ height: <?php echo $thumbnails_height/2;?>px !important;
500
+ box-sizing: border-box !important;
501
+ }
502
+ }
503
+ @media screen and (min-width : 569px) and (max-width : 767px) and (orientation : portrait) {
504
+ .thumbnail_width<?php echo $unique_id;?>
505
+ {
506
+ width: <?php echo $thumbnails_width/2;?>px !important;
507
+ height: <?php echo $thumbnails_height/2;?>px !important;
508
+ box-sizing: border-box !important;
509
+ }
510
+ }
511
+ @media screen and (min-width : 569px) and (max-width : 767px) and (orientation : landscape) {
512
+ .thumbnail_width<?php echo $unique_id;?>
513
+ {
514
+ width: <?php echo $thumbnails_width/2;?>px !important;
515
+ height: <?php echo $thumbnails_height/2;?>px !important;
516
+ box-sizing: border-box !important;
517
+ }
518
+ }
519
+ @media screen and (min-width : 569px) and (max-width : 767px) {
520
+ .thumbnail_width<?php echo $unique_id;?>
521
+ {
522
+ width: <?php echo $thumbnails_width/2;?>px !important;
523
+ height: <?php echo $thumbnails_height/2;?>px !important;
524
+ box-sizing: border-box !important;
525
+ }
526
+ }
527
+ @media screen and (min-width : 768px) and (max-width : 1024px) {
528
+ .thumbnail_width<?php echo $unique_id;?>
529
+ {
530
+ width: <?php echo $thumbnails_width;?>px !important;
531
+ height: <?php echo $thumbnails_height;?>px !important;
532
+ box-sizing: border-box !important;
533
+ }
534
+ }
535
  .thumbnail_width<?php echo $unique_id;?>
536
  {
537
  width: <?php echo $thumbnails_width;?>px !important;
554
  if($widget != "true")
555
  {
556
  ?>
557
+ @media screen and (min-width:970px)
558
+ {
559
+ .imgLiquidFill
560
+ {
561
+ width: <?php echo $thumbnails_width;?>px !important;
562
+ box-sizing: border-box !important;
563
+ height: <?php echo $thumbnails_height;?>px !important;
564
+ }
565
+ }
566
  .imgLiquidFill
567
  {
568
  <?php
front_views/masonry-gallery.php CHANGED
@@ -13,14 +13,92 @@ remove_filter ("comment_text", "wpautop");
13
  if($widget != "true")
14
  {
15
  ?>
16
- .width_thumb
17
- {
18
- width:<?php echo $thumbnails_width+1;?>px !important;
19
- border-radius:0px !important;
20
- display: block !important;
21
- box-sizing: border-box !important;
22
- max-width: 100% !important;
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  <?php
25
  }
26
  else
@@ -37,11 +115,19 @@ remove_filter ("comment_text", "wpautop");
37
  <?php
38
  }
39
  ?>
40
- .gallery-sizer { width:<?php echo $thumbnails_width + 10;?>px !important; }
41
-
42
- @media screen and (min-width: 720px) {
43
- .gallery-sizer { width:<?php echo $thumbnails_width + 10;?>px !important; }
44
- }
 
 
 
 
 
 
 
 
45
  </style>
46
  <div class="<?php echo $class_images_in_row;?>" id="masonry-gallery-thumbnails_<?php echo $unique_id;?>" >
47
  <?php
13
  if($widget != "true")
14
  {
15
  ?>
16
+ @media screen and (min-width : 258px) and (max-width : 461px) {
17
+ .width_thumb
18
+ {
19
+ width:<?php echo $thumbnails_width/2;?>px !important;
20
+ border-radius:0px !important;
21
+ display: block !important;
22
+ box-sizing: border-box !important;
23
+ }
24
+ }
25
+ @media screen and (min-width : 320px) and (max-width : 480px) {
26
+ .width_thumb
27
+ {
28
+ width:<?php echo $thumbnails_width/2;?>px !important;
29
+ border-radius:0px !important;
30
+ display: block !important;
31
+ box-sizing: border-box !important;
32
+ }
33
+ }
34
+ @media screen and (min-width : 320px) and (max-width : 568px) and (orientation : portrait) {
35
+ .width_thumb
36
+ {
37
+ width:<?php echo $thumbnails_width/2;?>px !important;
38
+ border-radius:0px !important;
39
+ display: block !important;
40
+ box-sizing: border-box !important;
41
+
42
+ }
43
+ }
44
+ @media screen and (min-width : 320px) and (max-width : 568px) and (orientation : landscape) {
45
+ .width_thumb
46
+ {
47
+ width:<?php echo $thumbnails_width/2;?>px !important;
48
+ border-radius:0px !important;
49
+ display: block !important;
50
+ box-sizing: border-box !important;
51
+
52
+ }
53
+ }
54
+ @media screen and (min-width : 320px) and (max-width : 568px) {
55
+ .width_thumb
56
+ {
57
+ width:<?php echo $thumbnails_width/2;?>px !important;
58
+ border-radius:0px !important;
59
+ display: block !important;
60
+ box-sizing: border-box !important;
61
+
62
+ }
63
+ }
64
+ @media screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
65
+ .width_thumb
66
+ {
67
+ width:<?php echo $thumbnails_width;?>px !important;
68
+ border-radius:0px !important;
69
+ display: block !important;
70
+ box-sizing: border-box !important;
71
+
72
+ }
73
+ }
74
+ @media screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
75
+ .width_thumb
76
+ {
77
+ width:<?php echo $thumbnails_width;?>px !important;
78
+ border-radius:0px !important;
79
+ display: block !important;
80
+ box-sizing: border-box !important;
81
+
82
+ }
83
+ }
84
+ @media screen and (min-width : 768px) and (max-width : 1024px) {
85
+ .width_thumb
86
+ {
87
+ width:<?php echo $thumbnails_width;?>px !important;
88
+ border-radius:0px !important;
89
+ display: block !important;
90
+ box-sizing: border-box !important;
91
+
92
+ }
93
+ }
94
+ .width_thumb
95
+ {
96
+ width:<?php echo $thumbnails_width;?>px !important;
97
+ border-radius:0px !important;
98
+ display: block !important;
99
+ box-sizing: border-box !important;
100
+
101
+ }
102
  <?php
103
  }
104
  else
115
  <?php
116
  }
117
  ?>
118
+ @media screen and (max-width:1300px) {
119
+ .gallery-sizer< ?php echo $unique_id;?>
120
+ {
121
+ width:<?php echo $thumbnails_width +10 ;?>px !important;
122
+ }
123
+ }
124
+ @media screen and (max-width: 960px)
125
+ {
126
+ .gallery-sizer<?php echo $unique_id;?>
127
+ {
128
+ width:<?php echo $thumbnails_width/2;?>px !important;
129
+ }
130
+ }
131
  </style>
132
  <div class="<?php echo $class_images_in_row;?>" id="masonry-gallery-thumbnails_<?php echo $unique_id;?>" >
133
  <?php
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.1.33
8
  * Author URI: http://tech-banker.com
9
  * License: GPLv3 or later
10
  * Text Domain: gallery-bank
@@ -26,7 +26,7 @@ if (!defined("GALLERY_BK_THUMB_SMALL_URL")) define("GALLERY_BK_THUMB_SMALL_URL",
26
  if (!defined("GALLERY_BK_ALBUM_THUMB_URL")) define("GALLERY_BK_ALBUM_THUMB_URL", content_url()."/gallery-bank/album-thumbs/");
27
  if (!defined("GALLERY_BK_PLUGIN_BASENAME")) define("GALLERY_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
28
  if(!defined("tech_banker_stats_url")) define("tech_banker_stats_url", "stats.tech-banker-services.org");
29
- if(!defined("gallery_bank_version_number")) define("gallery_bank_version_number","3.1.33");
30
  if (!is_dir(GALLERY_MAIN_DIR))
31
  {
32
  wp_mkdir_p(GALLERY_MAIN_DIR);
@@ -158,6 +158,7 @@ if(!function_exists("deactivation_function_for_gallery_bank"))
158
  $plugin_stat_data["status"] = $type;
159
  $plugin_stat_data["event"] = "de-activate";
160
  $plugin_stat_data["domain_url"] = site_url();
 
161
 
162
  switch($type)
163
  {
@@ -166,7 +167,6 @@ if(!function_exists("deactivation_function_for_gallery_bank"))
166
  $plugin_stat_data["wp_version"] = $wp_version;
167
  $plugin_stat_data["php_version"] = esc_html(phpversion());
168
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
169
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
170
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
171
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
172
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
@@ -246,6 +246,7 @@ if(!function_exists("plugin_uninstall_script_for_gallery_bank"))
246
  $plugin_stat_data["status"] = $type;
247
  $plugin_stat_data["event"] = "uninstall";
248
  $plugin_stat_data["domain_url"] = site_url();
 
249
 
250
  switch($type)
251
  {
@@ -254,7 +255,6 @@ if(!function_exists("plugin_uninstall_script_for_gallery_bank"))
254
  $plugin_stat_data["wp_version"] = $wp_version;
255
  $plugin_stat_data["php_version"] = esc_html(phpversion());
256
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
257
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
258
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
259
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
260
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
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.1.35
8
  * Author URI: http://tech-banker.com
9
  * License: GPLv3 or later
10
  * Text Domain: gallery-bank
26
  if (!defined("GALLERY_BK_ALBUM_THUMB_URL")) define("GALLERY_BK_ALBUM_THUMB_URL", content_url()."/gallery-bank/album-thumbs/");
27
  if (!defined("GALLERY_BK_PLUGIN_BASENAME")) define("GALLERY_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
28
  if(!defined("tech_banker_stats_url")) define("tech_banker_stats_url", "stats.tech-banker-services.org");
29
+ if(!defined("gallery_bank_version_number")) define("gallery_bank_version_number","3.1.35");
30
  if (!is_dir(GALLERY_MAIN_DIR))
31
  {
32
  wp_mkdir_p(GALLERY_MAIN_DIR);
158
  $plugin_stat_data["status"] = $type;
159
  $plugin_stat_data["event"] = "de-activate";
160
  $plugin_stat_data["domain_url"] = site_url();
161
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
162
 
163
  switch($type)
164
  {
167
  $plugin_stat_data["wp_version"] = $wp_version;
168
  $plugin_stat_data["php_version"] = esc_html(phpversion());
169
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
170
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
171
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
172
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
246
  $plugin_stat_data["status"] = $type;
247
  $plugin_stat_data["event"] = "uninstall";
248
  $plugin_stat_data["domain_url"] = site_url();
249
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
250
 
251
  switch($type)
252
  {
255
  $plugin_stat_data["wp_version"] = $wp_version;
256
  $plugin_stat_data["php_version"] = esc_html(phpversion());
257
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
258
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
259
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
260
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
lib/add-new-album-class.php CHANGED
@@ -184,6 +184,7 @@ else
184
  $plugin_stat_data["status"] = $type;
185
  $plugin_stat_data["event"] = "activate";
186
  $plugin_stat_data["domain_url"] = site_url();
 
187
 
188
  switch($type)
189
  {
@@ -192,7 +193,6 @@ else
192
  $plugin_stat_data["wp_version"] = $wp_version;
193
  $plugin_stat_data["php_version"] = esc_html(phpversion());
194
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
195
- $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
196
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
197
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
198
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
184
  $plugin_stat_data["status"] = $type;
185
  $plugin_stat_data["event"] = "activate";
186
  $plugin_stat_data["domain_url"] = site_url();
187
+ $plugin_stat_data["wp_language"] = defined("WPLANG") && WPLANG ? WPLANG : get_locale();
188
 
189
  switch($type)
190
  {
193
  $plugin_stat_data["wp_version"] = $wp_version;
194
  $plugin_stat_data["php_version"] = esc_html(phpversion());
195
  $plugin_stat_data["mysql_version"] = $wpdb->db_version();
 
196
  $plugin_stat_data["max_input_vars"] = ini_get("max_input_vars");
197
  $plugin_stat_data["operating_system"] = PHP_OS ." (".PHP_INT_SIZE * 8 .") BIT";
198
  $plugin_stat_data["php_memory_limit"] = ini_get("memory_limit") ? ini_get("memory_limit") : "N/A";
lib/install-script.php CHANGED
@@ -345,11 +345,6 @@ else
345
  }
346
  update_option("gallery-bank-pro-edition", "3.1");
347
  }
348
-
349
- $option_auto_update = get_option("gallery-bank-automatic_update");
350
- if($option_auto_update == "")
351
- {
352
- update_option("gallery-bank-automatic_update", "0");
353
- }
354
  }
355
  ?>
345
  }
346
  update_option("gallery-bank-pro-edition", "3.1");
347
  }
348
+ update_option("gallery-bank-automatic_update", "0");
 
 
 
 
 
349
  }
350
  ?>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Gallery-Bank, contact-banker
3
  Tags: album, content gallery, fancy gallery, fullscreen gallery, gallery, gallery lightbox, gallery plugin, gallery slider, gallery slideshow, gallery widget, grid gallery, image gallery, masonry gallery, media gallery, mosaic gallery, photo album, photo gallery, polaroid gallery, portfolio gallery, post gallery, responsive gallery, thumbnail gallery, video gallery, wordpress gallery, wordpress gallery plugin, youtube gallery
4
  Requires at least: 3.4
5
- Tested up to: 4.7.3
6
- Stable Tag: 3.1.33
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -502,6 +502,12 @@ is False in shortcode.
502
 
503
  == Changelog ==
504
 
 
 
 
 
 
 
505
  = 3.0.33 =
506
 
507
  * Major Bugs Fixed
2
  Contributors: Gallery-Bank, contact-banker
3
  Tags: album, content gallery, fancy gallery, fullscreen gallery, gallery, gallery lightbox, gallery plugin, gallery slider, gallery slideshow, gallery widget, grid gallery, image gallery, masonry gallery, media gallery, mosaic gallery, photo album, photo gallery, polaroid gallery, portfolio gallery, post gallery, responsive gallery, thumbnail gallery, video gallery, wordpress gallery, wordpress gallery plugin, youtube gallery
4
  Requires at least: 3.4
5
+ Tested up to: 4.7.4
6
+ Stable Tag: trunk
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
502
 
503
  == Changelog ==
504
 
505
+ = 3.0.34 =
506
+
507
+ * Major Bugs Fixed
508
+ * Responsive Layouts Fixed
509
+
510
+
511
  = 3.0.33 =
512
 
513
  * Major Bugs Fixed