Gallery Bank: WordPress Photo Gallery Plugin - Version 3.0.96

Version Description

  • Fixed compatibility issue with woocommerce plugin.
  • Fixed Layout issues.
  • Fixed whitespacing issue.
  • Unset plugin update scheduler on plugin uninstall.
Download this release

Release Info

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

Code changes from version 3.0.95 to 3.0.96

assets/css/gallery-bank.css CHANGED
@@ -23,6 +23,7 @@
23
 
24
  div.gallery-bank-hover-details {
25
  display:inline-block !important;
 
26
  overflow: hidden;
27
  position: relative;
28
  transition: all 1s;
23
 
24
  div.gallery-bank-hover-details {
25
  display:inline-block !important;
26
+ display: -webkit-inline-box !important;
27
  overflow: hidden;
28
  position: relative;
29
  transition: all 1s;
front_views/grid-albums.php CHANGED
@@ -1,7 +1,4 @@
1
- <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>" style="display: none;"
2
- onclick="view_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);">
3
- <span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text; ?></span>
4
- </button>
5
  <!------------------------------------------->
6
 
7
  <!------ Code for Back Button Separator ------->
@@ -13,38 +10,32 @@
13
  <?php
14
  for ($flag = 0;$flag < count($album);$flag++)
15
  {
16
- $albumCover = $wpdb->get_row
17
- (
18
- $wpdb->prepare
19
- (
20
- "SELECT album_cover,thumbnail_url FROM " . gallery_bank_pics() . " WHERE album_cover=1 and album_id = %d",
21
- $album[$flag]->album_id
22
- )
23
- );
24
- ?>
25
- <div class="albums_margin">
26
  <div class="gallery-bank-hover-details">
27
- <div class="imgLiquid dynamic_cover_css" id="<?php echo $unique_id; ?>"
28
- onclick="view_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
29
  <?php
30
  if (count($albumCover) != 0) {
31
  if ($albumCover->album_cover == 0) {
32
  ?>
33
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
34
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
35
- style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
36
  <?php
37
  } else {
38
  ?>
39
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
40
- src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
41
  <?php
42
  }
43
  } else {
44
  ?>
45
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
46
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
47
- style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
48
  <?php
49
  }
50
  ?>
@@ -70,11 +61,11 @@
70
  <?php
71
  }
72
  ?>
73
- <div class="album_link">
74
- <a onclick="view_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
75
- <?php echo $album_click_text; ?>
76
- </a>
77
- </div>
78
  </div>
79
  </div>
80
  <?php
@@ -83,12 +74,12 @@
83
  </div>
84
  <?php
85
  if ($album_seperator == 1) {
86
- ?>
87
- <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled"></div>
88
  <?php
89
  }
90
- ?>
91
  <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;">
92
  <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
93
  </div>
94
- </div>
1
+ <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>" style="display: none;" onclick="view_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);"><span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text; ?></span></button>
 
 
 
2
  <!------------------------------------------->
3
 
4
  <!------ Code for Back Button Separator ------->
10
  <?php
11
  for ($flag = 0;$flag < count($album);$flag++)
12
  {
13
+ $albumCover = $wpdb->get_row
14
+ (
15
+ $wpdb->prepare
16
+ (
17
+ "SELECT album_cover,thumbnail_url FROM " . gallery_bank_pics() . " WHERE album_cover=1 and album_id = %d",
18
+ $album[$flag]->album_id
19
+ )
20
+ );
21
+ ?>
22
+ <div class="albums_margin">
23
  <div class="gallery-bank-hover-details">
24
+ <div class="imgLiquid dynamic_cover_css" id="<?php echo $unique_id; ?>" onclick="view_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
 
25
  <?php
26
  if (count($albumCover) != 0) {
27
  if ($albumCover->album_cover == 0) {
28
  ?>
29
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
 
 
30
  <?php
31
  } else {
32
  ?>
33
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
 
34
  <?php
35
  }
36
  } else {
37
  ?>
38
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
 
 
39
  <?php
40
  }
41
  ?>
61
  <?php
62
  }
63
  ?>
64
+ <div class="album_link">
65
+ <a onclick="view_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
66
+ <?php echo $album_click_text; ?>
67
+ </a>
68
+ </div>
69
  </div>
70
  </div>
71
  <?php
74
  </div>
75
  <?php
76
  if ($album_seperator == 1) {
77
+ ?>
78
+ <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled"></div>
79
  <?php
80
  }
81
+ ?>
82
  <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;">
83
  <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
84
  </div>
85
+ </div>
front_views/includes_common_after.php CHANGED
@@ -2,228 +2,223 @@
2
 
3
  switch ($album_type) {
4
  case "images":
5
- if ($album_seperator == 1) {
6
- ?>
7
- <div class="separator-doubled"></div>
8
- <?php
9
- }
10
- ?>
11
  <script type="text/javascript">
12
-
13
- <?php
14
- switch($gallery_type)
15
- {
16
- case "masonry":
17
- ?>
18
- var $container1_<?php echo $unique_id;?> = jQuery("#masonry-gallery-thumbnails_<?php echo $unique_id;?>");
19
- $container1_<?php echo $unique_id;?>.imagesLoaded( function() {
20
- $container1_<?php echo $unique_id;?>.isotope({
21
- itemSelector: ".element",
22
- layoutMode : "masonry",
23
- itemPositionDataEnabled: true,
24
- resizable: false,
25
- resizesContainer: true,
26
- isAnimated: true,
27
- animationOptions: {
28
- duration: 750,
29
- easing: "linear",
30
- queue: false
31
- },
32
- masonry : {
33
- columnWidth: ".gallery-sizer"
34
- }
35
- });
36
- });
37
- jQuery(window).smartresize(function(){
38
- $container1_<?php echo $unique_id;?>.isotope({
39
- // update columnWidth to a percentage of container width
40
- masonry: { columnWidth: ".gallery-sizer" }
41
- });
42
  });
43
- <?php
44
- break;
45
- case "thumbnail":
46
- ?>
47
- jQuery(function () {
48
- jQuery(".imgLiquidFill").imgLiquid({fill: true});
49
- });
50
- <?php
51
- break;
 
 
 
 
 
 
52
  }
53
  ?>
54
  </script>
55
- <?php
56
  break;
57
- case "grid" || "list" || "individual":
58
- ?>
59
  <script type="text/javascript">
60
- jQuery(function () {
61
- jQuery(".imgLiquid").imgLiquid({fill: true});
62
- });
63
- var ajaxurl = "<?php echo admin_url("admin-ajax.php"); ?>";
64
- <?php
65
- if($album_type == "grid")
66
- {
67
- ?>
68
- if (typeof(view_album_images<?php echo $unique_id;?>) != "function") {
69
- function view_album_images<?php echo $unique_id;?>(album_id, unique_id) {
70
- var isImageDesc = "<?php echo $img_desc ;?>";
71
- var isImageTitle = "<?php echo $img_title; ?>";
72
- var gallery_format = "<?php echo $gallery_type; ?>";
73
- var images_in_row = "<?php echo $img_in_row; ?>";
74
- var iswidget = "<?php echo $galleryWidget; ?>";
75
- var special_effects = "<?php echo $special_effect; ?>";
76
- var animation_effects = "<?php echo $animation_effect; ?>";
77
- var show_album_title = "<?php echo $album_title; ?>";
78
- var filmstrip_width = "<?php echo $image_width; ?>";
79
- var isResponsive = "<?php echo $responsive;?>";
80
-
81
- jQuery(".albums-in-row_" + unique_id).css("display", "none");
82
- jQuery("#back_button" + unique_id).css("display", "none");
83
- jQuery("#seperator" + unique_id).css("display", "none");
84
- jQuery("#bank_album_images_div" + unique_id).css("display", "block");
85
- jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
86
- "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
87
- "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
88
- "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
89
- "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
90
- "&isResponsive="+isResponsive+
91
- "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
92
- jQuery("#back_button" + unique_id).css("display", "block");
93
- jQuery("#seperator" + unique_id).css("display", "block");
94
- jQuery("#seperator1" + unique_id).css("display", "none");
95
- jQuery("#show_bank_album_images" + unique_id).html(data);
96
- });
97
- }
98
- }
99
- if (typeof(view_albums<?php echo $unique_id;?>) != "function") {
100
- function view_albums<?php echo $unique_id;?>(unique_id) {
101
- jQuery(".albums-in-row_" + unique_id).css("display", "block");
102
- jQuery("#bank_album_images_div" + unique_id).css("display", "none");
103
- jQuery("#back_button" + unique_id).css("display", "none");
104
- jQuery("#seperator" + unique_id).css("display", "none");
105
- jQuery("#show_bank_album_images" + unique_id).html("");
106
- <?php
107
- if($album_seperator == 1)
108
- {
109
- ?>
110
- jQuery("#seperator1" + unique_id).css("display", "block");
111
- <?php
112
- }
113
- ?>
114
- }
115
- }
116
- <?php
117
  }
118
  elseif($album_type == "list")
119
  {
120
  ?>
121
- if (typeof(view_listed_album_images<?php echo $unique_id;?>) != "function") {
122
- function view_listed_album_images<?php echo $unique_id;?>(album_id, unique_id) {
123
- var isImageDesc = "<?php echo $img_desc ;?>";
124
- var isImageTitle = "<?php echo $img_title; ?>";
125
- var gallery_format = "<?php echo $gallery_type; ?>";
126
- var images_in_row = "<?php echo $img_in_row; ?>";
127
- var iswidget = "<?php echo $galleryWidget; ?>";
128
- var special_effects = "<?php echo $special_effect; ?>";
129
- var animation_effects = "<?php echo $animation_effect; ?>";
130
- var show_album_title = "<?php echo $album_title; ?>";
131
- var filmstrip_width = "<?php echo $image_width; ?>";
132
- var isResponsive = "<?php echo $responsive;?>";
133
-
134
- jQuery("#view_gallery_bank_albums_" + unique_id).css("display", "none");
135
- jQuery("#back_button" + unique_id).css("display", "none");
136
- jQuery("#seperator" + unique_id).css("display", "none");
137
- jQuery("#bank_album_images_div" + unique_id).css("display", "block");
138
- jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
139
- "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
140
- "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
141
- "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
142
- "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
143
- "&isResponsive="+isResponsive+
144
- "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
145
- jQuery("#back_button" + unique_id).css("display", "block");
146
- jQuery("#seperator" + unique_id).css("display", "block");
147
- jQuery("#seperator1" + unique_id).css("display", "none");
148
- jQuery("#show_bank_album_images" + unique_id).html(data);
149
- });
150
- }
151
- }
152
- if (typeof(view_list_albums<?php echo $unique_id;?>) != "function") {
153
- function view_list_albums<?php echo $unique_id;?>(unique_id) {
154
- jQuery("#view_gallery_bank_albums_" + unique_id).css("display", "block");
155
- jQuery("#bank_album_images_div" + unique_id).css("display", "none");
156
- jQuery("#back_button" + unique_id).css("display", "none");
157
- jQuery("#seperator" + unique_id).css("display", "none");
158
- jQuery("#show_bank_album_images" + unique_id).html("");
159
- <?php
160
- if($album_seperator == 1)
161
- {
162
- ?>
163
- jQuery("#seperator1" + unique_id).css("display", "block");
164
- <?php
165
- }
166
- ?>
167
- }
168
- }
169
  <?php
170
  }
171
  else
172
  {
173
- ?>
174
- if (typeof(view_individual_album_images<?php echo $unique_id;?>) != "function") {
175
- function view_individual_album_images<?php echo $unique_id;?>(album_id, unique_id) {
176
- var isImageDesc = "<?php echo $img_desc ;?>";
177
- var isImageTitle = "<?php echo $img_title; ?>";
178
- var gallery_format = "<?php echo $gallery_type; ?>";
179
- var images_in_row = "<?php echo $img_in_row; ?>";
180
- var iswidget = "<?php echo $galleryWidget; ?>";
181
- var special_effects = "<?php echo $special_effect; ?>";
182
- var animation_effects = "<?php echo $animation_effect; ?>";
183
- var show_album_title = "<?php echo $album_title; ?>";
184
- var filmstrip_width = "<?php echo $image_width; ?>";
185
- var isResponsive = "<?php echo $responsive;?>";
186
-
187
- jQuery("#ux_individual_main_div" + unique_id).css("display", "none");
188
- jQuery("#back_button" + unique_id).css("display", "none");
189
- jQuery("#seperator" + unique_id).css("display", "none");
190
- jQuery("#bank_album_images_div" + unique_id).css("display", "block");
191
- jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
192
- "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
193
- "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
194
- "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
195
- "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
196
- "&isResponsive="+isResponsive+
197
- "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
198
- jQuery("#back_button" + unique_id).css("display", "block");
199
- jQuery("#seperator" + unique_id).css("display", "block");
200
- jQuery("#seperator1" + unique_id).css("display", "none");
201
- jQuery("#show_bank_album_images" + unique_id).html(data);
202
- });
203
- }
204
- }
205
- if (typeof(view_individual_albums<?php echo $unique_id;?>) != "function") {
206
- function view_individual_albums<?php echo $unique_id;?>(unique_id) {
207
- jQuery("#ux_individual_main_div" + unique_id).css("display", "inline-block");
208
- jQuery("#bank_album_images_div" + unique_id).css("display", "none");
209
- jQuery("#back_button" + unique_id).css("display", "none");
210
- jQuery("#seperator" + unique_id).css("display", "none");
211
- jQuery("#show_bank_album_images" + unique_id).html("");
212
- <?php
213
- if($album_seperator == 1)
214
- {
215
- ?>
216
- jQuery("#seperator1" + unique_id).css("display", "block");
217
- <?php
218
- }
219
- ?>
220
- }
221
- }
222
- <?php
223
  }
224
  ?>
225
  </script>
226
- <?php
227
  break;
228
  }
229
  if($album_type == "images")
@@ -231,33 +226,32 @@ if($album_type == "images")
231
  ?>
232
  <script type="text/javascript">
233
  jQuery(document).ready(function () {
234
- jQuery("a[rel^=\"<?php echo $unique_id;?>prettyPhoto\"]").prettyPhoto
235
- ({
236
- animation_speed: <?php echo $lightbox_fade_in_time;?>,
237
- slideshow: <?php echo $slide_interval * 1000; ?>,
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:5px; 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
2
 
3
  switch ($album_type) {
4
  case "images":
5
+ if ($album_seperator == 1) {
6
+ ?>
7
+ <div class="separator-doubled"></div>
8
+ <?php
9
+ }
10
+ ?>
11
  <script type="text/javascript">
12
+ <?php
13
+ switch($gallery_type)
14
+ {
15
+ case "masonry":
16
+ ?>
17
+ var $container1_<?php echo $unique_id;?> = jQuery("#masonry-gallery-thumbnails_<?php echo $unique_id;?>");
18
+ $container1_<?php echo $unique_id;?>.imagesLoaded( function() {
19
+ $container1_<?php echo $unique_id;?>.isotope({
20
+ itemSelector: ".element",
21
+ layoutMode : "masonry",
22
+ itemPositionDataEnabled: true,
23
+ resizable: false,
24
+ resizesContainer: true,
25
+ isAnimated: true,
26
+ animationOptions: {
27
+ duration: 750,
28
+ easing: "linear",
29
+ queue: false
30
+ },
31
+ masonry : {
32
+ columnWidth: ".gallery-sizer"
33
+ }
 
 
 
 
 
 
 
 
34
  });
35
+ });
36
+ jQuery(window).smartresize(function(){
37
+ $container1_<?php echo $unique_id;?>.isotope({
38
+ masonry: { columnWidth: ".gallery-sizer" }
39
+ });
40
+ });
41
+ <?php
42
+ break;
43
+ case "thumbnail":
44
+ ?>
45
+ jQuery(function () {
46
+ jQuery(".imgLiquidFill").imgLiquid({fill: true});
47
+ });
48
+ <?php
49
+ break;
50
  }
51
  ?>
52
  </script>
53
+ <?php
54
  break;
55
+ case "grid" || "list" || "individual":
56
+ ?>
57
  <script type="text/javascript">
58
+ jQuery(function () {
59
+ jQuery(".imgLiquid").imgLiquid({fill: true});
60
+ });
61
+ var ajaxurl = "<?php echo admin_url("admin-ajax.php"); ?>";
62
+ <?php
63
+ if($album_type == "grid")
64
+ {
65
+ ?>
66
+ if (typeof(view_album_images<?php echo $unique_id;?>) != "function") {
67
+ function view_album_images<?php echo $unique_id;?>(album_id, unique_id) {
68
+ var isImageDesc = "<?php echo $img_desc ;?>";
69
+ var isImageTitle = "<?php echo $img_title; ?>";
70
+ var gallery_format = "<?php echo $gallery_type; ?>";
71
+ var images_in_row = "<?php echo $img_in_row; ?>";
72
+ var iswidget = "<?php echo $galleryWidget; ?>";
73
+ var special_effects = "<?php echo $special_effect; ?>";
74
+ var animation_effects = "<?php echo $animation_effect; ?>";
75
+ var show_album_title = "<?php echo $album_title; ?>";
76
+ var filmstrip_width = "<?php echo $image_width; ?>";
77
+ var isResponsive = "<?php echo $responsive;?>";
78
+ jQuery(".albums-in-row_" + unique_id).css("display", "none");
79
+ jQuery("#back_button" + unique_id).css("display", "none");
80
+ jQuery("#seperator" + unique_id).css("display", "none");
81
+ jQuery("#bank_album_images_div" + unique_id).css("display", "block");
82
+ jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
83
+ "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
84
+ "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
85
+ "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
86
+ "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
87
+ "&isResponsive="+isResponsive+
88
+ "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
89
+ jQuery("#back_button" + unique_id).css("display", "block");
90
+ jQuery("#seperator" + unique_id).css("display", "block");
91
+ jQuery("#seperator1" + unique_id).css("display", "none");
92
+ jQuery("#show_bank_album_images" + unique_id).html(data);
93
+ });
94
+ }
95
+ }
96
+ if (typeof(view_albums<?php echo $unique_id;?>) != "function") {
97
+ function view_albums<?php echo $unique_id;?>(unique_id) {
98
+ jQuery(".albums-in-row_" + unique_id).css("display", "block");
99
+ jQuery("#bank_album_images_div" + unique_id).css("display", "none");
100
+ jQuery("#back_button" + unique_id).css("display", "none");
101
+ jQuery("#seperator" + unique_id).css("display", "none");
102
+ jQuery("#show_bank_album_images" + unique_id).html("");
103
+ <?php
104
+ if($album_seperator == 1)
105
+ {
106
+ ?>
107
+ jQuery("#seperator1" + unique_id).css("display", "block");
108
+ <?php
109
+ }
110
+ ?>
111
+ }
112
+ }
113
+ <?php
 
114
  }
115
  elseif($album_type == "list")
116
  {
117
  ?>
118
+ if (typeof(view_listed_album_images<?php echo $unique_id;?>) != "function") {
119
+ function view_listed_album_images<?php echo $unique_id;?>(album_id, unique_id) {
120
+ var isImageDesc = "<?php echo $img_desc ;?>";
121
+ var isImageTitle = "<?php echo $img_title; ?>";
122
+ var gallery_format = "<?php echo $gallery_type; ?>";
123
+ var images_in_row = "<?php echo $img_in_row; ?>";
124
+ var iswidget = "<?php echo $galleryWidget; ?>";
125
+ var special_effects = "<?php echo $special_effect; ?>";
126
+ var animation_effects = "<?php echo $animation_effect; ?>";
127
+ var show_album_title = "<?php echo $album_title; ?>";
128
+ var filmstrip_width = "<?php echo $image_width; ?>";
129
+ var isResponsive = "<?php echo $responsive;?>";
130
+ jQuery("#view_gallery_bank_albums_" + unique_id).css("display", "none");
131
+ jQuery("#back_button" + unique_id).css("display", "none");
132
+ jQuery("#seperator" + unique_id).css("display", "none");
133
+ jQuery("#bank_album_images_div" + unique_id).css("display", "block");
134
+ jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
135
+ "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
136
+ "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
137
+ "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
138
+ "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
139
+ "&isResponsive="+isResponsive+
140
+ "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
141
+ jQuery("#back_button" + unique_id).css("display", "block");
142
+ jQuery("#seperator" + unique_id).css("display", "block");
143
+ jQuery("#seperator1" + unique_id).css("display", "none");
144
+ jQuery("#show_bank_album_images" + unique_id).html(data);
145
+ });
146
+ }
147
+ }
148
+ if (typeof(view_list_albums<?php echo $unique_id;?>) != "function") {
149
+ function view_list_albums<?php echo $unique_id;?>(unique_id) {
150
+ jQuery("#view_gallery_bank_albums_" + unique_id).css("display", "block");
151
+ jQuery("#bank_album_images_div" + unique_id).css("display", "none");
152
+ jQuery("#back_button" + unique_id).css("display", "none");
153
+ jQuery("#seperator" + unique_id).css("display", "none");
154
+ jQuery("#show_bank_album_images" + unique_id).html("");
155
+ <?php
156
+ if($album_seperator == 1)
157
+ {
158
+ ?>
159
+ jQuery("#seperator1" + unique_id).css("display", "block");
160
+ <?php
161
+ }
162
+ ?>
163
+ }
164
+ }
 
165
  <?php
166
  }
167
  else
168
  {
169
+ ?>
170
+ if (typeof(view_individual_album_images<?php echo $unique_id;?>) != "function") {
171
+ function view_individual_album_images<?php echo $unique_id;?>(album_id, unique_id) {
172
+ var isImageDesc = "<?php echo $img_desc ;?>";
173
+ var isImageTitle = "<?php echo $img_title; ?>";
174
+ var gallery_format = "<?php echo $gallery_type; ?>";
175
+ var images_in_row = "<?php echo $img_in_row; ?>";
176
+ var iswidget = "<?php echo $galleryWidget; ?>";
177
+ var special_effects = "<?php echo $special_effect; ?>";
178
+ var animation_effects = "<?php echo $animation_effect; ?>";
179
+ var show_album_title = "<?php echo $album_title; ?>";
180
+ var filmstrip_width = "<?php echo $image_width; ?>";
181
+ var isResponsive = "<?php echo $responsive;?>";
182
+ jQuery("#ux_individual_main_div" + unique_id).css("display", "none");
183
+ jQuery("#back_button" + unique_id).css("display", "none");
184
+ jQuery("#seperator" + unique_id).css("display", "none");
185
+ jQuery("#bank_album_images_div" + unique_id).css("display", "block");
186
+ jQuery.post(ajaxurl, "album_id=" + album_id + "&isImageDesc=" + isImageDesc +
187
+ "&isImageTitle=" + isImageTitle + "&gallery_format=" + gallery_format +
188
+ "&images_in_row=" + images_in_row + "&iswidget=" + iswidget +
189
+ "&special_effects=" + special_effects + "&animation_effects=" + animation_effects +
190
+ "&filmstrip_width=" + filmstrip_width + "&show_album_title=" + show_album_title +
191
+ "&isResponsive="+isResponsive+
192
+ "&param=show_album_gallery&action=front_view_all_albums_library", function (data) {
193
+ jQuery("#back_button" + unique_id).css("display", "block");
194
+ jQuery("#seperator" + unique_id).css("display", "block");
195
+ jQuery("#seperator1" + unique_id).css("display", "none");
196
+ jQuery("#show_bank_album_images" + unique_id).html(data);
197
+ });
198
+ }
199
+ }
200
+ if (typeof(view_individual_albums<?php echo $unique_id;?>) != "function") {
201
+ function view_individual_albums<?php echo $unique_id;?>(unique_id) {
202
+ jQuery("#ux_individual_main_div" + unique_id).css("display", "inline-block");
203
+ jQuery("#bank_album_images_div" + unique_id).css("display", "none");
204
+ jQuery("#back_button" + unique_id).css("display", "none");
205
+ jQuery("#seperator" + unique_id).css("display", "none");
206
+ jQuery("#show_bank_album_images" + unique_id).html("");
207
+ <?php
208
+ if($album_seperator == 1)
209
+ {
210
+ ?>
211
+ jQuery("#seperator1" + unique_id).css("display", "block");
212
+ <?php
213
+ }
214
+ ?>
215
+ }
216
+ }
217
+ <?php
 
218
  }
219
  ?>
220
  </script>
221
+ <?php
222
  break;
223
  }
224
  if($album_type == "images")
226
  ?>
227
  <script type="text/javascript">
228
  jQuery(document).ready(function () {
229
+ jQuery("a[rel^=\"<?php echo $unique_id;?>prettyPhoto\"]").prettyPhoto
230
+ ({
231
+ hook: "rel",
232
+ animation_speed: <?php echo $lightbox_fade_in_time;?>,
233
+ slideshow: <?php echo $slide_interval * 1000; ?>,
234
+ autoplay_slideshow: <?php echo $autoplay;?>,
235
+ opacity: 0.80,
236
+ show_title: false,
237
+ allow_resize: true,
238
+ deeplinking: false,
239
+ changepicturecallback: onPictureChanged
240
+ });
241
  });
 
242
  function onPictureChanged()
243
  {
244
+ var google_plus_icon = "<g:plusone data-action='share' href='"+ encodeURIComponent(location.href.replace(location.hash,'')) +"' width='160px' style='margin-left:5px; display:inline-block;'></g:plusone>";
245
+ jQuery(".pp_social").append(google_plus_icon);
246
+ jQuery(".pp_social").append("<script type='text/javascript'>\
 
247
  (function() { \
248
+ var po = document.createElement('script');\
249
+ po.type = 'text/javascript';\
250
+ po.async = true;\
251
+ po.src = 'https://apis.google.com/js/plusone.js';\
252
+ var s = document.getElementsByTagName('script')[0];\
253
+ s.parentNode.insertBefore(po, s);\
254
  })(); <" + "/" + "script>");
 
255
  }
256
  </script>
257
  <?php
front_views/includes_common_before.php CHANGED
@@ -274,106 +274,108 @@ switch ($album_type) {
274
  {
275
  case "images":
276
  ?>
277
- /*noinspection ALL*/
278
-
279
- .dynamic_css {
280
- border: <?php echo $thumbnails_border_size;?>px solid <?php echo $thumbnails_border_color;?> !important;
281
- border-radius: <?php echo $thumbnails_border_radius;?>px !important;
282
- -moz-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
283
- -webkit-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
284
- -khtml-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
285
- -o-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
286
- }
287
-
288
- .dynamic_css img {
289
- margin: 0 !important;
290
- padding: 0 !important;
291
- border: 0 !important;
292
- }
 
 
293
  .thumbnail_width<?php echo $unique_id;?>
294
  {
295
- width: <?php echo $thumbnails_width;?>px !important;
296
- height: <?php echo $thumbnails_height;?>px !important;
297
- box-sizing: border-box !important;
298
  }
299
- /*noinspection ALL*/
300
- .images-in-row_<?php echo $unique_id;?> a,
301
  .widget-images-in-row_<?php echo $unique_id;?> a
302
- {
303
- border-bottom: none !important;
304
- }
305
- <?php
306
- if($widget != "true")
307
  {
308
- ?>
309
- .imgLiquidFill {
310
- <?php
311
- if($effect[0] == "")
312
- {
313
- ?>
314
- width: <?php echo $thumbnails_width + ($thumbnails_border_size * 2) ;?>px !important;
315
- box-sizing: border-box !important;
316
- <?php
317
- }
318
- else
319
- {
320
- ?> width: <?php echo $thumbnails_width;?>px !important;
321
- box-sizing: border-box !important;
322
- <?php
323
- }
324
- ?>
325
- height: <?php echo $thumbnails_height;?>px !important;
326
- }
327
- <?php
328
- if($responsive != "true")
 
 
 
 
 
 
329
  {
330
  ?>
331
- .images-in-row_<?php echo $unique_id;?>
332
- {
333
- <?php
334
-
335
- if($gallery_type != "masonry")
336
- {
337
- ?>
338
- height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil(count($pics) / $img_in_row) + 20 ;?>px !important;
339
- <?php
340
- if($effect[0] != "")
341
- {
342
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + 10) * $img_in_row ;?>px !important;
343
- <?php
344
- }
345
- else
346
- {
347
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2)) * $img_in_row ;?>px !important;
348
- <?php
349
- }
350
- }
351
- else if($gallery_type == "masonry")
352
- {
353
- if($effect[0] != "")
354
- {
355
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2) + 10) * $img_in_row ;?>px !important;
356
- <?php
357
- }
358
- else
359
- {
360
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2)) * $img_in_row ;?>px !important;
361
- <?php
362
- }
363
- }
364
- ?> clear: both;
365
- }
366
  <?php
367
  }
368
  ?>
369
  .images-in-row_<?php echo $unique_id;?> a:hover
370
- {
371
- text-decoration:none !important;
372
- }
373
  .margin_thumbs {
374
- margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
375
- margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
376
- }
377
  <?php
378
  }
379
  else
@@ -381,436 +383,393 @@ switch ($album_type) {
381
  ?>
382
  .widgetImgLiquidFill<?php echo $unique_id;?> {
383
  <?php
384
- if($effect[0] == "")
385
- {
386
- ?>
387
- width: <?php echo $thumbnails_width + ($thumbnails_border_size * 2) ;?>px !important;
388
- box-sizing: border-box !important;
389
- <?php
390
- }
391
- else
392
- {
393
- ?> width: <?php echo $thumbnails_width;?>px !important;
394
- box-sizing: border-box !important;
395
- <?php
396
- }
397
- ?>
398
- height: <?php echo $thumbnails_height;?>px !important;
399
- }
400
- .widget-images-in-row_<?php echo $unique_id;?> a:hover
401
  {
402
  text-decoration: none !important;
403
  }
404
- <?php
405
- if($responsive != "true")
406
  {
407
- ?>
408
- .widget-images-in-row_<?php echo $unique_id;?>
409
- {
410
- <?php
411
-
412
- if($gallery_type != "masonry")
413
- {
414
- ?>
415
- height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil(count($pics) / $img_in_row) + 20 ;?>px !important;
416
- <?php
417
- if($effect[0] != "")
418
- {
419
- ?>
420
- width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + 10) * $img_in_row ;?>px !important;
421
- <?php
422
- }
423
- else
424
- {
425
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2)) * $img_in_row ;?>px !important;
426
- <?php
427
- }
428
- }
429
- else if($gallery_type == "masonry")
430
- {
431
- if($effect[0] != "")
432
- {
433
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2) + 10) * $img_in_row ;?>px !important;
434
- <?php
435
- }
436
- else
437
- {
438
- ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2)) * $img_in_row ;?>px !important;
439
- <?php
440
- }
441
- }
442
- ?> clear: both;
443
- }
444
  <?php
445
  }
446
  ?>
447
- .widget_margin_thumbs<?php echo $unique_id;?> {
448
- margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
449
- margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
450
- }
451
  <?php
452
  }
453
- ?>
454
- /*noinspection ALL*/
455
- .opactiy_thumbs {
456
- opacity: <?php echo $thumbnails_opacity;?> !important;
457
- -moz-opacity: <?php echo $thumbnails_opacity; ?> !important;
458
- -khtml-opacity: <?php echo $thumbnails_opacity; ?> !important;
459
- }
460
-
461
- /*noinspection ALL*/
462
-
463
- .shutter-gb-img-wrap {
464
- margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
465
- margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
466
- }
467
-
468
-
469
- .overlay_text > h5 {
470
- margin-top:10px !important;
471
- padding: 0 10px 0 10px !important;
472
- line-height: 1.5em !important;
473
- direction: <?php echo $lang_dir_setting; ?> !important;
474
- text-align: <?php echo $thumbnail_text_align;?> !important;
475
- font-family: <?php echo $thumbnail_font_family;?> !important;
476
- color: <?php echo $thumbnail_text_color?> !important;
477
- font-size: <?php echo $heading_font_size;?>px !important;
478
- }
479
-
480
- .overlay_text > p {
481
- padding: 10px 10px 0 10px !important;
482
- line-height: 1.5em !important;
483
- direction: <?php echo $lang_dir_setting; ?> !important;
484
- text-align: <?php echo $thumbnail_text_align;?> !important;
485
- font-family: <?php echo $thumbnail_font_family;?> !important;
486
- color: <?php echo $thumbnail_text_color?> !important;
487
- font-size: <?php echo $text_font_size?>px !important;
488
- }
489
  <?php
490
  break;
491
  case "grid" || "list" || "individual":
492
  ?>
493
- .dynamic_cover_css {
494
- border: <?php echo $cover_thumbnail_border_size;?>px solid <?php echo $cover_thumbnail_border_color;?> !important;
495
- -moz-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
496
- -webkit-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
497
- -khtml-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
498
- -o-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
499
- border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
500
- opacity: <?php echo $cover_thumbnail_opacity;?> !important;
501
- -moz-opacity: <?php echo $cover_thumbnail_opacity;?> !important;
502
- -khtml-opacity: <?php echo $cover_thumbnail_opacity;?> !important;
503
- }
504
-
505
- .dynamic_cover_css img {
506
- margin: 0 !important;
507
- padding: 0 !important;
508
- border: 0 !important;
509
- }
510
-
511
- .imgLiquid {
512
- width: <?php echo $cover_thumbnail_width;?>px !important;
513
- height: <?php echo $cover_thumbnail_height;?>px !important;
514
- display: inline-block;
515
- box-sizing: border-box !important;
516
- }
517
-
518
- .album_back_btn {
519
- margin-top: 10px !important;
520
- border-radius: 8px !important;
521
- padding: 10px 10px !important;
522
- border: none !important;
523
- clear: both;
524
- cursor: pointer !important;
525
- background: <?php echo $button_color;?> linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
526
- background: <?php echo $button_color;?> -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
527
- background: <?php echo $button_color;?> -moz-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
528
- background: <?php echo $button_color;?> -o-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
529
- background: <?php echo $button_color;?> -ms-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
530
- background: <?php echo $button_color;?> -webkit-gradient(linear, left bottom, left top, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0))) !important;
531
- }
532
-
533
- .album_back_btn:hover {
534
- cursor: pointer !important;
535
- background: <?php echo $button_color;?> linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
536
- background: <?php echo $button_color;?> -webkit-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
537
- background: <?php echo $button_color;?> -moz-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
538
- background: <?php echo $button_color;?> -o-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
539
- background: <?php echo $button_color;?> -ms-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
540
- background: <?php echo $button_color;?> -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0))) !important;
541
- }
542
-
543
- #view_gallery_bank_albums_<?php echo $unique_id;?> {
544
- <?php
545
- if($album_seperator == 1)
546
- {
547
- ?> clear: both;
548
- <?php
549
  }
550
  else
551
  {
552
- ?> margin-bottom: 20px !important;
553
- <?php
554
  }
555
  ?>
556
- }
557
  <?php
558
- if($album_type == "grid")
559
- {
560
- ?>
561
- /*********** For Grid Albums ********/
562
- .albums-in-row_<?php echo $unique_id;?> {
563
- width: <?php echo ($cover_thumbnail_width + ($margin_btw_cover_thumbnails * 2)) * $albums_in_row ;?>px !important;
564
- <?php
565
- if($album_seperator == 1)
566
- {
567
- ?> clear: both;
568
- <?php
569
  }
570
  else
571
  {
572
- ?> margin-bottom: 20px !important;
573
- <?php
574
  }
575
  ?>
576
  }
577
-
578
- .albums_margin {
579
- margin-right: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
580
- margin-bottom: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
581
- display: inline-block !important;
582
- width: <?php echo $cover_thumbnail_width;?>px !important;
583
- vertical-align: text-top !important;
584
- cursor: pointer;
585
- }
586
-
587
- .album_holder {
588
- display: inline-block !important;
589
- width: <?php echo $cover_thumbnail_width;?>px !important;
590
- }
591
-
592
- .album_holder h5 {
593
- direction: <?php echo $lang_dir_setting; ?> !important;
594
- text-align: <?php echo $album_text_align;?> !important;
595
- font-family: <?php echo $album_font_family;?> !important;
596
- color: <?php echo $album_text_color?> !important;
597
- font-size: <?php echo $album_heading_font_size;?>px !important;
598
- cursor: pointer;
599
- margin: 10px 0 0 0 !important;
600
- padding: 0 !important;
601
- line-height: 1.5em !important;
602
- }
603
-
604
- .album_holder p {
605
- direction: <?php echo $lang_dir_setting; ?> !important;
606
- text-align: <?php echo $album_text_align;?> !important;
607
- font-family: <?php echo $album_font_family;?> !important;
608
- color: <?php echo $album_text_color?> !important;
609
- font-size: <?php echo $album_text_font_size?>px !important;
610
- cursor: pointer;
611
- margin: 10px 0 0 0 !important;
612
- padding: 0 !important;
613
- line-height: 1.5em !important;
614
- }
615
-
616
- .album_holder > div.album_link {
617
- direction: <?php echo $lang_dir_setting; ?> !important;
618
- margin: 10px 0 0 0 !important;
619
- text-align: <?php echo $album_text_align;?> !important;
620
- cursor: pointer;
621
- }
622
-
623
- div.album_link a {
624
- color: <?php echo $album_text_color?> !important;
625
- font-size: <?php echo $album_text_font_size?>px !important;
626
- font-family: <?php echo $album_font_family;?> !important;
627
- }
628
- <?php
629
  }
630
- if($album_type == "individual")
631
- {
632
- ?>
633
- /*********** For Single Albums ********/
634
- .album_content_holder {
635
- display: inline-block !important;
636
- width: 300px !important;
637
- vertical-align: top !important;
638
- }
639
-
640
- .album_content_div<?php echo $unique_id;?> {
641
- cursor: pointer;
642
- width: 100% !important;
643
  <?php
644
- if($album_seperator == 1)
645
- {
646
- ?> clear: both;
647
- <?php
648
  }
649
  else
650
  {
651
- ?> margin-bottom: 20px !important;
652
- <?php
653
  }
654
  ?> display: inline-block;
655
  }
656
-
657
- .album_content_holder h5 {
658
- direction: <?php echo $lang_dir_setting; ?> !important;
659
- text-align: <?php echo $album_text_align;?> !important;
660
- font-family: <?php echo $album_font_family;?> !important;
661
- color: <?php echo $album_text_color?> !important;
662
- font-size: <?php echo $album_heading_font_size;?>px !important;
663
- cursor: pointer;
664
- line-height: 1.5em !important;
665
- margin: 0 0 10px 10px !important;
666
- padding: 0 !important;
667
- }
668
-
669
- .album_content_holder p {
670
- direction: <?php echo $lang_dir_setting; ?> !important;
671
- text-align: <?php echo $album_text_align;?> !important;
672
- font-family: <?php echo $album_font_family;?> !important;
673
- color: <?php echo $album_text_color?> !important;
674
- font-size: <?php echo $album_text_font_size?>px !important;
675
- cursor: pointer;
676
- margin: 0 0 0 10px !important;
677
- padding: 0 !important;
678
- line-height: 1.5em !important;
679
- }
680
-
681
- .album_content_holder div.album_view_link {
682
- direction: <?php echo $lang_dir_setting; ?> !important;
683
- text-align: <?php echo $album_text_align;?> !important;
684
- margin: 10px 0 0 10px !important;
685
- padding: 0 !important;
686
- cursor: pointer;
687
- }
688
-
689
- div.album_view_link a {
690
- color: <?php echo $album_text_color?> !important;
691
- font-size: <?php echo $album_text_font_size?>px !important;
692
- font-family: <?php echo $album_font_family;?> !important;
693
- }
694
-
695
- <?php
696
- }
697
- if($album_type == "list")
698
- {
699
- ?>
700
- /*********** For Listed Albums ********/
701
- .content_holder {
702
- display: inline-block !important;
703
- width: 300px !important;
704
- vertical-align: top !important;
705
- }
706
-
707
- .list_album_content_div<?php echo $unique_id;?> {
708
- margin-bottom: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
709
- cursor: pointer;
710
- width: 100% !important;
711
- display: inline-block;
712
- }
713
-
714
- .content_holder h5 {
715
- direction: <?php echo $lang_dir_setting; ?> !important;
716
- text-align: <?php echo $album_text_align;?> !important;
717
- font-family: <?php echo $album_font_family;?> !important;
718
- color: <?php echo $album_text_color?> !important;
719
- font-size: <?php echo $album_heading_font_size;?>px !important;
720
- cursor: pointer;
721
- margin: 0 0 10px 10px !important;
722
- padding: 0 !important;
723
- line-height: 1.5em !important;
724
- }
725
-
726
- .content_holder p {
727
- direction: <?php echo $lang_dir_setting; ?> !important;
728
- text-align: <?php echo $album_text_align;?> !important;
729
- font-family: <?php echo $album_font_family;?> !important;
730
- color: <?php echo $album_text_color?> !important;
731
- font-size: <?php echo $album_text_font_size?>px !important;
732
- cursor: pointer;
733
- margin: 0 0 0 10px !important;
734
- padding: 0 !important;
735
- line-height: 1.5em !important;
736
- }
737
-
738
- .content_holder div.view_link {
739
- direction: <?php echo $lang_dir_setting; ?> !important;
740
- text-align: <?php echo $album_text_align;?> !important;
741
- margin: 10px 0 0 10px !important;
742
- padding: 0 !important;
743
- cursor: pointer;
744
- }
745
-
746
- div.view_link a {
747
- color: <?php echo $album_text_color?> !important;
748
- font-size: <?php echo $album_text_font_size?>px !important;
749
- font-family: <?php echo $album_font_family;?> !important;
750
- }
751
-
752
- <?php
753
- }
754
  break;
755
  }
756
- if($album_type == "images")
757
- {
758
- ?>
759
- .pp_pic_holder.pp_default {
760
- background-color: #ffffff;
761
- }
762
-
763
- div.pp_overlay {
764
- background-color: <?php echo $lightbox_overlay_bg_color;?> !important;
765
- opacity: <?php echo $lightbox_overlay_opacity;?> !important;
766
- -moz-opacity: <?php echo $lightbox_overlay_opacity; ?> !important;
767
- filter: alpha(opacity=<?php echo $lightbox_overlay_opacity; ?>);
768
- }
769
-
770
- .pp_description p {
771
- direction: <?php echo $lang_dir_setting; ?> !important;
772
- color: <?php echo $lightbox_text_color;?> !important;
773
- text-align: <?php echo $lightbox_text_align;?> !important;
774
- font-family: <?php echo $lightbox_font_family;?> !important;
775
- font-size: <?php echo $lightbox_text_font_size;?>px !important;
776
- }
777
-
778
- .pp_description h5 {
779
- direction: <?php echo $lang_dir_setting; ?> !important;
780
- color: <?php echo $lightbox_text_color;?> !important;
781
- text-align: <?php echo $lightbox_text_align;?> !important;
782
- font-family: <?php echo $lightbox_font_family;?> !important;
783
- font-size: <?php echo $lightbox_heading_font_size;?>px !important;
784
- }
785
-
786
- .ppt {
787
- display: none !important;
788
- }
789
-
790
- div.pp_pic_holder {
791
- border: <?php echo $lightbox_border_color_value;?> !important;
792
- border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
793
- -moz-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
794
- -webkit-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
795
- -khtml-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
796
- -o-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
797
- }
798
- <?php
799
- }
800
- $class_images_in_row = $widget == "true" ? "widget-images-in-row_".$unique_id : "images-in-row_".$unique_id;
801
  ?>
802
  </style>
803
-
804
- <!-- Global Styling -->
805
  <?php
806
  switch ($album_type) {
807
- case "images":
808
- if ($album_title == "true")
809
- {
810
- ?>
811
- <h3><?php echo stripcslashes(htmlspecialchars_decode($album)); ?></h3>
812
- <?php
813
- }
814
  break;
815
  }
816
  ?>
274
  {
275
  case "images":
276
  ?>
277
+ /*noinspection ALL*/
278
+ .dynamic_css {
279
+ border: <?php echo $thumbnails_border_size;?>px solid <?php echo $thumbnails_border_color;?> !important;
280
+ border-radius: <?php echo $thumbnails_border_radius;?>px !important;
281
+ -moz-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
282
+ -webkit-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
283
+ -khtml-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
284
+ -o-border-radius: <?php echo $thumbnails_border_radius;?>px !important;
285
+ }
286
+ .dynamic_css img {
287
+ margin: 0 !important;
288
+ padding: 0 !important;
289
+ border: 0 !important;
290
+ }
291
+ .dynamic_css p
292
+ {
293
+ margin :0px !important;
294
+ }
295
  .thumbnail_width<?php echo $unique_id;?>
296
  {
297
+ width: <?php echo $thumbnails_width;?>px !important;
298
+ height: <?php echo $thumbnails_height;?>px !important;
299
+ box-sizing: border-box !important;
300
  }
301
+ /*noinspection ALL*/
302
+ .images-in-row_<?php echo $unique_id;?> a,
303
  .widget-images-in-row_<?php echo $unique_id;?> a
 
 
 
 
 
304
  {
305
+ border-bottom: none !important;
306
+ }
307
+ <?php
308
+ if($widget != "true")
309
+ {
310
+ ?>
311
+ .imgLiquidFill {
312
+ <?php
313
+ if($effect[0] == "")
314
+ {
315
+ ?>
316
+ width: <?php echo $thumbnails_width + ($thumbnails_border_size * 2) ;?>px !important;
317
+ box-sizing: border-box !important;
318
+ <?php
319
+ }
320
+ else
321
+ {
322
+ ?>
323
+ width: <?php echo $thumbnails_width;?>px !important;
324
+ box-sizing: border-box !important;
325
+ <?php
326
+ }
327
+ ?>
328
+ height: <?php echo $thumbnails_height;?>px !important;
329
+ }
330
+ <?php
331
+ if($responsive != "true")
332
  {
333
  ?>
334
+ .images-in-row_<?php echo $unique_id;?>
335
+ {
336
+ <?php
337
+ if($gallery_type != "masonry")
338
+ {
339
+ ?>
340
+ height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil(count($pics) / $img_in_row) + 20 ;?>px !important;
341
+ <?php
342
+ if($effect[0] != "")
343
+ {
344
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + 10) * $img_in_row ;?>px !important;
345
+ <?php
346
+ }
347
+ else
348
+ {
349
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2)) * $img_in_row ;?>px !important;
350
+ <?php
351
+ }
352
+ }
353
+ else if($gallery_type == "masonry")
354
+ {
355
+ if($effect[0] != "")
356
+ {
357
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2) + 10) * $img_in_row ;?>px !important;
358
+ <?php
359
+ }
360
+ else
361
+ {
362
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2)) * $img_in_row ;?>px !important;
363
+ <?php
364
+ }
365
+ }
366
+ ?> clear: both;
367
+ }
 
368
  <?php
369
  }
370
  ?>
371
  .images-in-row_<?php echo $unique_id;?> a:hover
372
+ {
373
+ text-decoration:none !important;
374
+ }
375
  .margin_thumbs {
376
+ margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
377
+ margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
378
+ }
379
  <?php
380
  }
381
  else
383
  ?>
384
  .widgetImgLiquidFill<?php echo $unique_id;?> {
385
  <?php
386
+ if($effect[0] == "")
387
+ {
388
+ ?>
389
+ width: <?php echo $thumbnails_width + ($thumbnails_border_size * 2) ;?>px !important;
390
+ box-sizing: border-box !important;
391
+ <?php
392
+ }
393
+ else
394
+ {
395
+ ?>width: <?php echo $thumbnails_width;?>px !important;
396
+ box-sizing: border-box !important;
397
+ <?php
398
+ }
399
+ ?>
400
+ height: <?php echo $thumbnails_height;?>px !important;
401
+ }
402
+ .widget-images-in-row_<?php echo $unique_id;?> a:hover
403
  {
404
  text-decoration: none !important;
405
  }
406
+ <?php
407
+ if($responsive != "true")
408
  {
409
+ ?>
410
+ .widget-images-in-row_<?php echo $unique_id;?>
411
+ {
412
+ <?php
413
+ if($gallery_type != "masonry")
414
+ {
415
+ ?>
416
+ height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil(count($pics) / $img_in_row) + 20 ;?>px !important;
417
+ <?php
418
+ if($effect[0] != "")
419
+ {
420
+ ?>width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + 10) * $img_in_row ;?>px !important;<?php
421
+ }
422
+ else
423
+ {
424
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2)) * $img_in_row ;?>px !important;
425
+ <?php
426
+ }
427
+ }
428
+ else if($gallery_type == "masonry")
429
+ {
430
+ if($effect[0] != "")
431
+ {
432
+ ?>width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2) + 10) * $img_in_row ;?>px !important;<?php
433
+ }
434
+ else
435
+ {
436
+ ?>width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2)) * $img_in_row ;?>px !important;<?php
437
+ }
438
+ }
439
+ ?>
440
+ clear: both;
441
+ }
 
 
 
 
442
  <?php
443
  }
444
  ?>
445
+ .widget_margin_thumbs<?php echo $unique_id;?> {
446
+ margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
447
+ margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
448
+ }
449
  <?php
450
  }
451
+ ?>
452
+ /*noinspection ALL*/
453
+ .opactiy_thumbs {
454
+ opacity: <?php echo $thumbnails_opacity;?> !important;
455
+ -moz-opacity: <?php echo $thumbnails_opacity; ?> !important;
456
+ -khtml-opacity: <?php echo $thumbnails_opacity; ?> !important;
457
+ }
458
+ /*noinspection ALL*/
459
+ .shutter-gb-img-wrap
460
+ {
461
+ margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
462
+ margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
463
+ }
464
+ .overlay_text > h5 {
465
+ margin-top:10px !important;
466
+ padding: 0 10px 0 10px !important;
467
+ line-height: 1.5em !important;
468
+ direction: <?php echo $lang_dir_setting; ?> !important;
469
+ text-align: <?php echo $thumbnail_text_align;?> !important;
470
+ font-family: <?php echo $thumbnail_font_family;?> !important;
471
+ color: <?php echo $thumbnail_text_color?> !important;
472
+ font-size: <?php echo $heading_font_size;?>px !important;
473
+ }
474
+ .overlay_text > p {
475
+ padding: 10px 10px 0 10px !important;
476
+ line-height: 1.5em !important;
477
+ direction: <?php echo $lang_dir_setting; ?> !important;
478
+ text-align: <?php echo $thumbnail_text_align;?> !important;
479
+ font-family: <?php echo $thumbnail_font_family;?> !important;
480
+ color: <?php echo $thumbnail_text_color?> !important;
481
+ font-size: <?php echo $text_font_size?>px !important;
482
+ }
 
 
 
 
483
  <?php
484
  break;
485
  case "grid" || "list" || "individual":
486
  ?>
487
+ .dynamic_cover_css {
488
+ border: <?php echo $cover_thumbnail_border_size;?>px solid <?php echo $cover_thumbnail_border_color;?> !important;
489
+ -moz-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
490
+ -webkit-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
491
+ -khtml-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
492
+ -o-border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
493
+ border-radius: <?php echo $cover_thumbnail_border_radius; ?>px !important;
494
+ opacity: <?php echo $cover_thumbnail_opacity;?> !important;
495
+ -moz-opacity: <?php echo $cover_thumbnail_opacity;?> !important;
496
+ -khtml-opacity: <?php echo $cover_thumbnail_opacity;?> !important;
497
+ }
498
+ .dynamic_cover_css img {
499
+ margin: 0 !important;
500
+ padding: 0 !important;
501
+ border: 0 !important;
502
+ }
503
+ .imgLiquid {
504
+ width: <?php echo $cover_thumbnail_width;?>px !important;
505
+ height: <?php echo $cover_thumbnail_height;?>px !important;
506
+ display: inline-block;
507
+ box-sizing: border-box !important;
508
+ }
509
+ .album_back_btn {
510
+ margin-top: 10px !important;
511
+ border-radius: 8px !important;
512
+ padding: 10px 10px !important;
513
+ border: none !important;
514
+ clear: both;
515
+ cursor: pointer !important;
516
+ background: <?php echo $button_color;?> linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
517
+ background: <?php echo $button_color;?> -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
518
+ background: <?php echo $button_color;?> -moz-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
519
+ background: <?php echo $button_color;?> -o-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
520
+ background: <?php echo $button_color;?> -ms-linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
521
+ background: <?php echo $button_color;?> -webkit-gradient(linear, left bottom, left top, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0))) !important;
522
+ }
523
+ .album_back_btn:hover {
524
+ cursor: pointer !important;
525
+ background: <?php echo $button_color;?> linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
526
+ background: <?php echo $button_color;?> -webkit-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
527
+ background: <?php echo $button_color;?> -moz-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
528
+ background: <?php echo $button_color;?> -o-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
529
+ background: <?php echo $button_color;?> -ms-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
530
+ background: <?php echo $button_color;?> -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0))) !important;
531
+ }
532
+ #view_gallery_bank_albums_<?php echo $unique_id;?> {
533
+ <?php
534
+ if($album_seperator == 1)
535
+ {
536
+ ?>clear: both;<?php
 
 
 
 
 
 
537
  }
538
  else
539
  {
540
+ ?>margin-bottom: 20px !important;<?php
 
541
  }
542
  ?>
543
+ }
544
  <?php
545
+ if($album_type == "grid")
546
+ {
547
+ ?>
548
+ /*********** For Grid Albums ********/
549
+ .albums-in-row_<?php echo $unique_id;?> {
550
+ width: <?php echo ($cover_thumbnail_width + ($margin_btw_cover_thumbnails * 2)) * $albums_in_row ;?>px !important;
551
+ <?php
552
+ if($album_seperator == 1)
553
+ {
554
+ ?>clear: both;<?php
 
555
  }
556
  else
557
  {
558
+ ?>margin-bottom: 20px !important;<?php
 
559
  }
560
  ?>
561
  }
562
+ .albums_margin {
563
+ margin-right: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
564
+ margin-bottom: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
565
+ display: inline-block !important;
566
+ width: <?php echo $cover_thumbnail_width;?>px !important;
567
+ vertical-align: text-top !important;
568
+ cursor: pointer;
569
+ }
570
+ .album_holder {
571
+ display: inline-block !important;
572
+ width: <?php echo $cover_thumbnail_width;?>px !important;
573
+ }
574
+ .album_holder h5 {
575
+ direction: <?php echo $lang_dir_setting; ?> !important;
576
+ text-align: <?php echo $album_text_align;?> !important;
577
+ font-family: <?php echo $album_font_family;?> !important;
578
+ color: <?php echo $album_text_color?> !important;
579
+ font-size: <?php echo $album_heading_font_size;?>px !important;
580
+ cursor: pointer;
581
+ margin: 10px 0 0 0 !important;
582
+ padding: 0 !important;
583
+ line-height: 1.5em !important;
584
+ }
585
+ .album_holder p {
586
+ direction: <?php echo $lang_dir_setting; ?> !important;
587
+ text-align: <?php echo $album_text_align;?> !important;
588
+ font-family: <?php echo $album_font_family;?> !important;
589
+ color: <?php echo $album_text_color?> !important;
590
+ font-size: <?php echo $album_text_font_size?>px !important;
591
+ cursor: pointer;
592
+ margin: 10px 0 0 0 !important;
593
+ padding: 0 !important;
594
+ line-height: 1.5em !important;
595
+ }
596
+ .album_holder > div.album_link {
597
+ direction: <?php echo $lang_dir_setting; ?> !important;
598
+ margin: 10px 0 0 0 !important;
599
+ text-align: <?php echo $album_text_align;?> !important;
600
+ cursor: pointer;
601
+ }
602
+ div.album_link a {
603
+ color: <?php echo $album_text_color?> !important;
604
+ font-size: <?php echo $album_text_font_size?>px !important;
605
+ font-family: <?php echo $album_font_family;?> !important;
606
+ }
607
+ <?php
 
 
 
 
 
 
608
  }
609
+ if($album_type == "individual")
610
+ {
611
+ ?>
612
+ /*********** For Single Albums ********/
613
+ .album_content_holder {
614
+ display: inline-block !important;
615
+ width: 300px !important;
616
+ vertical-align: top !important;
617
+ }
618
+ .album_content_div<?php echo $unique_id;?> {
619
+ cursor: pointer;
620
+ width: 100% !important;
 
621
  <?php
622
+ if($album_seperator == 1)
623
+ {
624
+ ?>clear: both;<?php
 
625
  }
626
  else
627
  {
628
+ ?>margin-bottom: 20px !important;<?php
 
629
  }
630
  ?> display: inline-block;
631
  }
632
+ .album_content_holder h5 {
633
+ direction: <?php echo $lang_dir_setting; ?> !important;
634
+ text-align: <?php echo $album_text_align;?> !important;
635
+ font-family: <?php echo $album_font_family;?> !important;
636
+ color: <?php echo $album_text_color?> !important;
637
+ font-size: <?php echo $album_heading_font_size;?>px !important;
638
+ cursor: pointer;
639
+ line-height: 1.5em !important;
640
+ margin: 0 0 10px 10px !important;
641
+ padding: 0 !important;
642
+ }
643
+ .album_content_holder p {
644
+ direction: <?php echo $lang_dir_setting; ?> !important;
645
+ text-align: <?php echo $album_text_align;?> !important;
646
+ font-family: <?php echo $album_font_family;?> !important;
647
+ color: <?php echo $album_text_color?> !important;
648
+ font-size: <?php echo $album_text_font_size?>px !important;
649
+ cursor: pointer;
650
+ margin: 0 0 0 10px !important;
651
+ padding: 0 !important;
652
+ line-height: 1.5em !important;
653
+ }
654
+ .album_content_holder div.album_view_link {
655
+ direction: <?php echo $lang_dir_setting; ?> !important;
656
+ text-align: <?php echo $album_text_align;?> !important;
657
+ margin: 10px 0 0 10px !important;
658
+ padding: 0 !important;
659
+ cursor: pointer;
660
+ }
661
+ div.album_view_link a {
662
+ color: <?php echo $album_text_color?> !important;
663
+ font-size: <?php echo $album_text_font_size?>px !important;
664
+ font-family: <?php echo $album_font_family;?> !important;
665
+ }
666
+ <?php
667
+ }
668
+ if($album_type == "list")
669
+ {
670
+ ?>
671
+ /*********** For Listed Albums ********/
672
+ .content_holder {
673
+ display: inline-block !important;
674
+ width: 300px !important;
675
+ vertical-align: top !important;
676
+ }
677
+ .list_album_content_div<?php echo $unique_id;?> {
678
+ margin-bottom: <?php echo $margin_btw_cover_thumbnails; ?>px !important;
679
+ cursor: pointer;
680
+ width: 100% !important;
681
+ display: inline-block;
682
+ }
683
+ .content_holder h5 {
684
+ direction: <?php echo $lang_dir_setting; ?> !important;
685
+ text-align: <?php echo $album_text_align;?> !important;
686
+ font-family: <?php echo $album_font_family;?> !important;
687
+ color: <?php echo $album_text_color?> !important;
688
+ font-size: <?php echo $album_heading_font_size;?>px !important;
689
+ cursor: pointer;
690
+ margin: 0 0 10px 10px !important;
691
+ padding: 0 !important;
692
+ line-height: 1.5em !important;
693
+ }
694
+ .content_holder p {
695
+ direction: <?php echo $lang_dir_setting; ?> !important;
696
+ text-align: <?php echo $album_text_align;?> !important;
697
+ font-family: <?php echo $album_font_family;?> !important;
698
+ color: <?php echo $album_text_color?> !important;
699
+ font-size: <?php echo $album_text_font_size?>px !important;
700
+ cursor: pointer;
701
+ margin: 0 0 0 10px !important;
702
+ padding: 0 !important;
703
+ line-height: 1.5em !important;
704
+ }
705
+ .content_holder div.view_link {
706
+ direction: <?php echo $lang_dir_setting; ?> !important;
707
+ text-align: <?php echo $album_text_align;?> !important;
708
+ margin: 10px 0 0 10px !important;
709
+ padding: 0 !important;
710
+ cursor: pointer;
711
+ }
712
+ div.view_link a {
713
+ color: <?php echo $album_text_color?> !important;
714
+ font-size: <?php echo $album_text_font_size?>px !important;
715
+ font-family: <?php echo $album_font_family;?> !important;
716
+ }
717
+ <?php
718
+ }
 
 
 
 
 
 
 
 
 
 
 
719
  break;
720
  }
721
+ if($album_type == "images")
722
+ {
723
+ ?>
724
+ .pp_pic_holder.pp_default {
725
+ background-color: #ffffff;
726
+ }
727
+ div.pp_overlay {
728
+ background-color: <?php echo $lightbox_overlay_bg_color;?> !important;
729
+ opacity: <?php echo $lightbox_overlay_opacity;?> !important;
730
+ -moz-opacity: <?php echo $lightbox_overlay_opacity; ?> !important;
731
+ filter: alpha(opacity=<?php echo $lightbox_overlay_opacity; ?>);
732
+ }
733
+ .pp_description p {
734
+ direction: <?php echo $lang_dir_setting; ?> !important;
735
+ color: <?php echo $lightbox_text_color;?> !important;
736
+ text-align: <?php echo $lightbox_text_align;?> !important;
737
+ font-family: <?php echo $lightbox_font_family;?> !important;
738
+ font-size: <?php echo $lightbox_text_font_size;?>px !important;
739
+ }
740
+ .pp_description h5 {
741
+ direction: <?php echo $lang_dir_setting; ?> !important;
742
+ color: <?php echo $lightbox_text_color;?> !important;
743
+ text-align: <?php echo $lightbox_text_align;?> !important;
744
+ font-family: <?php echo $lightbox_font_family;?> !important;
745
+ font-size: <?php echo $lightbox_heading_font_size;?>px !important;
746
+ }
747
+ .ppt {
748
+ display: none !important;
749
+ }
750
+ div.pp_pic_holder {
751
+ border: <?php echo $lightbox_border_color_value;?> !important;
752
+ border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
753
+ -moz-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
754
+ -webkit-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
755
+ -khtml-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
756
+ -o-border-radius: <?php echo $lightbox_overlay_border_radius;?>px !important;
757
+ }
758
+ <?php
759
+ }
760
+ $class_images_in_row = $widget == "true" ? "widget-images-in-row_".$unique_id : "images-in-row_".$unique_id;
 
 
 
 
 
761
  ?>
762
  </style>
763
+ <!-- Global Styling -->
 
764
  <?php
765
  switch ($album_type) {
766
+ case "images":
767
+ if ($album_title == "true")
768
+ {
769
+ ?>
770
+ <h3><?php echo stripcslashes(htmlspecialchars_decode($album)); ?></h3>
771
+ <?php
772
+ }
773
  break;
774
  }
775
  ?>
front_views/listed-album.php CHANGED
@@ -1,96 +1,77 @@
1
- <!------ Code for Back Buttons ------->
2
- <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>" style="display: none;"
3
- onclick="view_list_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);">
4
- <span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text ?></span>
5
- </button>
6
- <div id="seperator<?php echo $unique_id; ?>" class="separator-doubled" style="display: none"></div>
7
-
8
  <!------------------------------------------->
9
-
10
  <div id="view_gallery_bank_albums_<?php echo $unique_id; ?>">
11
- <?php
12
- for ($flag = 0;$flag < count($album);$flag++)
13
- {
14
- $albumCover = $wpdb->get_row
15
- (
16
- $wpdb->prepare
17
- (
18
- "SELECT album_cover,thumbnail_url FROM " . gallery_bank_pics() . " WHERE album_cover=1 and album_id = %d",
19
- $album[$flag]->album_id
20
- )
21
- );
22
  ?>
23
- <div class="list_album_content_div<?php echo $unique_id; ?>" id="ux_main_div<?php echo $unique_id; ?>">
24
  <div class="gallery-bank-hover-details">
25
- <div class="imgLiquid dynamic_cover_css"
26
- onclick="view_listed_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
27
- <?php
28
- if (count($albumCover) != 0)
29
- {
30
- if ($albumCover->album_cover == 0)
31
- {
32
- ?>
33
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
34
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
35
- style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
36
- <?php
37
- } else {
38
- ?>
39
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
40
- src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
41
- <?php
42
- }
43
- } else {
44
- ?>
45
- <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>"
46
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
47
- style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
48
- <?php
49
- }
50
- ?>
51
- <div class="gallery-bank-album-detail"></div>
52
- </div>
53
  </div>
54
- <div class="content_holder">
55
- <?php
56
- if ($album[$flag]->album_name != "Untitled Album" && $img_title == "true") {
57
- ?>
58
- <h5>
59
- <?php echo stripcslashes($album[$flag]->album_name); ?>
60
- </h5>
61
- <?php
62
- }
63
- if ($img_desc == "true") {
64
- $string = stripcslashes(htmlspecialchars_decode($album[$flag]->description));
65
- $description = (strlen($string) > $album_desc_length) ? substr($string, 0, $album_desc_length) . "..." : $string;
66
- ?>
67
- <p>
68
- <?php echo $description; ?>
69
- </p>
70
- <?php
71
- }
72
- ?>
73
- <div class="view_link">
74
- <a onclick="view_listed_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
75
- <?php echo $album_click_text; ?>
76
- </a>
77
- </div>
78
- </div>
79
- </div>
80
- <?php
81
  }
82
- ?>
83
  </div>
84
-
85
  <?php
86
- if ($album_seperator == 1) {
87
- ?>
88
- <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled" style="clear:both;"></div>
89
- <?php
90
- }
91
- ?>
92
- <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;">
93
- <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
94
- </div>
95
- </div>
96
-
1
+ <!------ Code for Back Buttons ------->
2
+ <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>" style="display: none;" onclick="view_list_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);"><span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text ?></span></button>
3
+ <div id="seperator<?php echo $unique_id; ?>" class="separator-doubled" style="display: none"></div>
 
 
 
 
4
  <!------------------------------------------->
 
5
  <div id="view_gallery_bank_albums_<?php echo $unique_id; ?>">
6
+ <?php
7
+ for ($flag = 0;$flag < count($album);$flag++)
8
+ {
9
+ $albumCover = $wpdb->get_row
10
+ (
11
+ $wpdb->prepare
12
+ (
13
+ "SELECT album_cover,thumbnail_url FROM " . gallery_bank_pics() . " WHERE album_cover=1 and album_id = %d",
14
+ $album[$flag]->album_id
15
+ )
16
+ );
17
  ?>
18
+ <div class="list_album_content_div<?php echo $unique_id; ?>" id="ux_main_div<?php echo $unique_id; ?>">
19
  <div class="gallery-bank-hover-details">
20
+ <div class="imgLiquid dynamic_cover_css" onclick="view_listed_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)">
21
+ <?php
22
+ if (count($albumCover) != 0)
23
+ {
24
+ if ($albumCover->album_cover == 0)
25
+ {
26
+ ?>
27
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
28
+ <?php
29
+ } else {
30
+ ?>
31
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
32
+ <?php
33
+ }
34
+ } else {
35
+ ?>
36
+ <img id="albumOrder_<?php echo $album[$flag]->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style="height:<?php echo $cover_thumbnail_height; ?>px;"/>
37
+ <?php
38
+ }
39
+ ?>
40
+ <div class="gallery-bank-album-detail"></div>
41
+ </div>
 
 
 
 
 
 
42
  </div>
43
+ <div class="content_holder">
44
+ <?php
45
+ if ($album[$flag]->album_name != "Untitled Album" && $img_title == "true") {
46
+ ?>
47
+ <h5><?php echo stripcslashes($album[$flag]->album_name); ?></h5>
48
+ <?php
49
+ }
50
+ if ($img_desc == "true") {
51
+ $string = stripcslashes(htmlspecialchars_decode($album[$flag]->description));
52
+ $description = (strlen($string) > $album_desc_length) ? substr($string, 0, $album_desc_length) . "..." : $string;
53
+ ?>
54
+ <p><?php echo $description; ?></p>
55
+ <?php
56
+ }
57
+ ?>
58
+ <div class="view_link">
59
+ <a onclick="view_listed_album_images<?php echo $unique_id; ?>(<?php echo $album[$flag]->album_id; ?>,<?php echo $unique_id; ?>)"><?php echo $album_click_text; ?></a>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ <?php
 
 
 
 
 
 
64
  }
65
+ ?>
66
  </div>
 
67
  <?php
68
+ if ($album_seperator == 1) {
69
+ ?>
70
+ <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled" style="clear:both;"></div>
71
+ <?php
72
+ }
73
+ ?>
74
+ <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;">
75
+ <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
76
+ </div>
77
+ </div>
 
front_views/masonry-gallery.php CHANGED
@@ -7,9 +7,9 @@
7
  {
8
  width:<?php echo $thumbnails_width+1;?>px !important;
9
  border-radius:0px !important;
10
- display: block !important;
11
- box-sizing: border-box !important;
12
- max-width: 100% !important;
13
  }
14
  <?php
15
  }
@@ -20,9 +20,9 @@
20
  {
21
  width:<?php echo $thumbnails_width+1;?>px !important;
22
  border-radius:0px !important;
23
- display: block !important;
24
- box-sizing: border-box !important;
25
- max-width: 100% !important;
26
  }
27
  <?php
28
  }
@@ -33,13 +33,13 @@
33
  .gallery-sizer { width:<?php echo $thumbnails_width + 10;?>px !important; }
34
  }
35
  </style>
36
- <div class="<?php echo $class_images_in_row;?>" id="masonry-gallery-thumbnails_<?php echo $unique_id;?>" >
37
  <?php
38
  $css_class = $widget == "true" ? "widget_width_thumb". $unique_id : "width_thumb ";
39
  for($flag = 0; $flag< count($pics); $flag++)
40
  {
41
- $image_title = $image_title_setting == 1 && $pics[$flag]->title != "" ? "<h5>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->title)))). "</h5>" : "";
42
- $image_description = $image_desc_setting == 1 && $pics[$flag]->description != "" ? "<p>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->description)))) ."</p>" : "";
43
  if( $pics[$flag]->url == "" || $pics[$flag]->url == "undefined" || $pics[$flag]->url == "http://")
44
  {
45
  if($pics[$flag]->video == 1)
@@ -85,20 +85,14 @@
85
  <?php
86
  if($pics[$flag]->video == 1)
87
  {
88
-
89
  ?>
90
- <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>"
91
- imageid="<?php echo $pics[$flag]->pic_id;?>"
92
- id="ux_gb_img_<?php echo $unique_id;?>" type="video"
93
- src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
94
  <?php
95
  }
96
  else
97
  {
98
  ?>
99
- <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>"
100
- imageid="<?php echo $pics[$flag]->pic_id;?>"
101
- type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
102
  <?php
103
  }
104
  ?>
@@ -113,17 +107,13 @@
113
  if($pics[$flag]->video == 1)
114
  {
115
  ?>
116
- <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>"
117
- imageid="<?php echo $pics[$flag]->pic_id;?>"
118
- type="video" src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
119
  <?php
120
  }
121
  else
122
  {
123
  ?>
124
- <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>"
125
- imageid="<?php echo $pics[$flag]->pic_id;?>"
126
- type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
127
  <?php
128
  }
129
  ?>
@@ -132,7 +122,7 @@
132
  }
133
  ?>
134
  </a>
135
- <?php
136
  }
137
  ?>
138
  </div>
7
  {
8
  width:<?php echo $thumbnails_width+1;?>px !important;
9
  border-radius:0px !important;
10
+ display: block !important;
11
+ box-sizing: border-box !important;
12
+ max-width: 100% !important;
13
  }
14
  <?php
15
  }
20
  {
21
  width:<?php echo $thumbnails_width+1;?>px !important;
22
  border-radius:0px !important;
23
+ display: block !important;
24
+ box-sizing: border-box !important;
25
+ max-width: 100% !important;
26
  }
27
  <?php
28
  }
33
  .gallery-sizer { width:<?php echo $thumbnails_width + 10;?>px !important; }
34
  }
35
  </style>
36
+ <div class="<?php echo $class_images_in_row;?>" id="masonry-gallery-thumbnails_<?php echo $unique_id;?>" >
37
  <?php
38
  $css_class = $widget == "true" ? "widget_width_thumb". $unique_id : "width_thumb ";
39
  for($flag = 0; $flag< count($pics); $flag++)
40
  {
41
+ $image_title = $image_title_setting == 1 && $pics[$flag]->title != "" ? "<h5>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->title)))). "</h5>" : "";
42
+ $image_description = $image_desc_setting == 1 && $pics[$flag]->description != "" ? "<p>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->description)))) ."</p>" : "";
43
  if( $pics[$flag]->url == "" || $pics[$flag]->url == "undefined" || $pics[$flag]->url == "http://")
44
  {
45
  if($pics[$flag]->video == 1)
85
  <?php
86
  if($pics[$flag]->video == 1)
87
  {
 
88
  ?>
89
+ <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>" imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $unique_id;?>" type="video" src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
 
 
 
90
  <?php
91
  }
92
  else
93
  {
94
  ?>
95
+ <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>" imageid="<?php echo $pics[$flag]->pic_id;?>" type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
 
 
96
  <?php
97
  }
98
  ?>
107
  if($pics[$flag]->video == 1)
108
  {
109
  ?>
110
+ <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>" imageid="<?php echo $pics[$flag]->pic_id;?>" type="video" src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
 
 
111
  <?php
112
  }
113
  else
114
  {
115
  ?>
116
+ <img class="<?php echo $css_class;?>" id="ux_gb_img_<?php echo $unique_id;?>" imageid="<?php echo $pics[$flag]->pic_id;?>" type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
 
 
117
  <?php
118
  }
119
  ?>
122
  }
123
  ?>
124
  </a>
125
+ <?php
126
  }
127
  ?>
128
  </div>
front_views/single-album.php CHANGED
@@ -1,75 +1,63 @@
1
  <!------ Code for Back Button ------->
2
- <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>"
3
- onclick="view_individual_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);"
4
- style="display: none;">
5
- <span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text; ?></span>
6
- </button>
7
  <div id="seperator<?php echo $unique_id; ?>" class="separator-doubled" style="display: none"></div>
8
 
9
  <div class="album_content_div<?php echo $unique_id; ?>" id="ux_individual_main_div<?php echo $unique_id; ?>">
10
  <div class="gallery-bank-hover-details">
11
- <div class="imgLiquid dynamic_cover_css" id="<?php echo $unique_id; ?>"
12
- onclick="view_individual_album_images<?php echo $unique_id; ?>(<?php echo $album->album_id; ?>,<?php echo $unique_id; ?>)">
13
- <?php
14
- if (count($albumCover) != 0)
15
- {
16
- if ($albumCover->album_cover == 0) {
17
- ?>
18
- <img id="album_img<?php echo $album->album_id; ?>"
19
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
20
- style=" height: <?php echo $cover_thumbnail_height; ?>px;"/>
21
- <?php
22
- } else {
23
- ?>
24
- <img id="album_img<?php echo $album->album_id; ?>"
25
- src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
26
- <?php
27
- }
28
- } else {
29
- ?>
30
- <img id="album_img<?php echo $album->album_id; ?>"
31
- src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>"
32
- style=" height: <?php echo $cover_thumbnail_height; ?>px;"/>
33
- <?php
34
- }
35
- ?>
36
- <div class="gallery-bank-album-detail"></div>
37
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  </div>
39
- <div class="album_content_holder">
40
- <?php
41
- if ($album->album_name != "Untitled Album" && $img_title == "true") {
42
- ?>
43
- <h5>
44
- <?php echo stripcslashes($album->album_name); ?>
45
- </h5>
46
- <?php
47
- }
48
- if ($img_desc == "true") {
49
- $string = stripcslashes(htmlspecialchars_decode($album->description));
50
- $description = (strlen($string) > $album_desc_length) ? substr($string, 0, $album_desc_length) . "..." : $string;
51
- ?>
52
- <p>
53
- <?php echo $description; ?>
54
- </p>
55
- <?php
56
- }
57
- ?>
58
- <div class="album_view_link">
59
- <a onclick="view_individual_album_images<?php echo $unique_id; ?>(<?php echo $album->album_id; ?>,<?php echo $unique_id; ?>)">
60
- <?php echo $album_click_text; ?>
61
- </a>
62
- </div>
63
- </div>
64
  </div>
65
  <?php
66
  if ($album_seperator == 1) {
67
- ?>
68
- <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled" style="clear:both;"></div>
69
  <?php
70
  }
71
  ?>
72
- <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;" class="bank-album-images">
73
- <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
74
- </div>
75
- </div>
1
  <!------ Code for Back Button ------->
2
+ <button class="album_back_btn" id="back_button<?php echo $unique_id; ?>" onclick="view_individual_albums<?php echo $unique_id; ?>(<?php echo $unique_id; ?>);" style="display: none;"><span style="color: <?php echo $button_text_color; ?>;"> <?php echo $back_button_text; ?></span></button>
 
 
 
 
3
  <div id="seperator<?php echo $unique_id; ?>" class="separator-doubled" style="display: none"></div>
4
 
5
  <div class="album_content_div<?php echo $unique_id; ?>" id="ux_individual_main_div<?php echo $unique_id; ?>">
6
  <div class="gallery-bank-hover-details">
7
+ <div class="imgLiquid dynamic_cover_css" id="<?php echo $unique_id; ?>" onclick="view_individual_album_images<?php echo $unique_id; ?>(<?php echo $album->album_id; ?>,<?php echo $unique_id; ?>)">
8
+ <?php
9
+ if (count($albumCover) != 0)
10
+ {
11
+ if ($albumCover->album_cover == 0) {
12
+ ?>
13
+ <img id="album_img<?php echo $album->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style=" height: <?php echo $cover_thumbnail_height; ?>px;"/>
14
+ <?php
15
+ } else {
16
+ ?>
17
+ <img id="album_img<?php echo $album->album_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_ALBUM_THUMB_URL . $albumCover->thumbnail_url); ?>"/>
18
+ <?php
19
+ }
20
+ } else {
21
+ ?>
22
+ <img id="album_img<?php echo $album->album_id; ?>" src="<?php echo stripcslashes(plugins_url("/assets/images/album-cover.png",dirname(__FILE__))); ?>" style=" height: <?php echo $cover_thumbnail_height; ?>px;"/>
23
+ <?php
24
+ }
25
+ ?>
26
+ <div class="gallery-bank-album-detail"></div>
27
+ </div>
28
+ </div>
29
+ <div class="album_content_holder">
30
+ <?php
31
+ if ($album->album_name != "Untitled Album" && $img_title == "true") {
32
+ ?>
33
+ <h5><?php echo stripcslashes($album->album_name); ?></h5>
34
+ <?php
35
+ }
36
+ if ($img_desc == "true") {
37
+ $string = stripcslashes(htmlspecialchars_decode($album->description));
38
+ $description = (strlen($string) > $album_desc_length) ? substr($string, 0, $album_desc_length) . "..." : $string;
39
+ ?>
40
+ <p>
41
+ <?php echo $description; ?>
42
+ </p>
43
+ <?php
44
+ }
45
+ ?>
46
+ <div class="album_view_link">
47
+ <a onclick="view_individual_album_images<?php echo $unique_id; ?>(<?php echo $album->album_id; ?>,<?php echo $unique_id; ?>)">
48
+ <?php echo $album_click_text; ?>
49
+ </a>
50
+ </div>
51
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  </div>
53
  <?php
54
  if ($album_seperator == 1) {
55
+ ?>
56
+ <div id="seperator1<?php echo $unique_id; ?>" class="separator-doubled" style="clear:both;"></div>
57
  <?php
58
  }
59
  ?>
60
+ <div id="bank_album_images_div<?php echo $unique_id; ?>" style="display: none;" class="bank-album-images">
61
+ <div id="show_bank_album_images<?php echo $unique_id; ?>" style="margin-top: 5px;">
62
+ </div>
63
+ </div>
front_views/thumbnail-gallery.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <style>
2
  .<?php echo $class_images_in_row ?> > a
3
  {
@@ -8,9 +9,9 @@
8
  <?php
9
  for($flag = 0; $flag< count($pics); $flag++)
10
  {
11
- $image_title = $image_title_setting == 1 && $pics[$flag]->title != "" ? "<h5>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->title)))). "</h5>" : "";
12
- $image_description = $image_desc_setting == 1 && $pics[$flag]->description != "" ? "<p>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->description)))) ."</p>" : "";
13
- if( $pics[$flag]->url == "" || $pics[$flag]->url == "undefined" || $pics[$flag]->url == "http://")
14
  {
15
  if($pics[$flag]->video == 1)
16
  {
@@ -33,8 +34,7 @@
33
  }
34
  if($img_title == "true" || $img_desc == "true")
35
  {
36
- ?>
37
- <div class="dynamic_css margin_thumbs thumbnail_width<?php echo $unique_id;?> widget_margin_thumbs<?php echo $unique_id;?> gb_overlay">
38
  <div class="widgetImgLiquidFill<?php echo $unique_id;?> imgLiquidFill opactiy_thumbs">
39
  <div class="overlay_text">
40
  <h5><?php echo stripcslashes(htmlspecialchars_decode($pics[$flag]->title));?></h5>
@@ -57,16 +57,13 @@
57
  if($pics[$flag]->video == 1)
58
  {
59
  ?>
60
- <img imageid="<?php echo $pics[$flag]->pic_id;?>"
61
- id="ux_gb_img_<?php echo $pics[$flag]->pic_id;?>" type="video"
62
- src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
63
  <?php
64
  }
65
  else
66
  {
67
  ?>
68
- <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $unique_id;?>"
69
- type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
70
  <?php
71
  }
72
  ?>
@@ -76,32 +73,25 @@
76
  }
77
  else
78
  {
79
- ?>
80
- <div class="imgLiquidFill widgetImgLiquidFill<?php echo $unique_id;?> shutter-gb-img-wrap opactiy_thumbs dynamic_css margin_thumbs thumbnail_width<?php echo $unique_id;?> widget_margin_thumbs<?php echo $unique_id;?>" >
81
  <?php
82
  if($pics[$flag]->video == 1)
83
  {
84
  ?>
85
- <img imageid="<?php echo $pics[$flag]->pic_id;?>"
86
- id="ux_gb_img_<?php echo $pics[$flag]->pic_id;?>" type="video"
87
- src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
88
  <?php
89
  }
90
  else
91
  {
92
  ?>
93
- <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $unique_id;?>"
94
- type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
95
  <?php
96
  }
97
  ?>
98
  </div>
99
  <?php
100
  }
101
- ?>
102
- </a>
103
  <?php
104
  }
105
- ?>
106
-
107
- </div>
1
+ <?php remove_filter ('comment_text', 'wpautop');?>
2
  <style>
3
  .<?php echo $class_images_in_row ?> > a
4
  {
9
  <?php
10
  for($flag = 0; $flag< count($pics); $flag++)
11
  {
12
+ $image_title = $image_title_setting == 1 && $pics[$flag]->title != "" ? "<h5>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->title)))). "</h5>" : "";
13
+ $image_description = $image_desc_setting == 1 && $pics[$flag]->description != "" ? "<p>" . esc_attr(html_entity_decode(stripcslashes(htmlspecialchars($pics[$flag]->description)))) ."</p>" : "";
14
+ if( $pics[$flag]->url == "" || $pics[$flag]->url == "undefined" || $pics[$flag]->url == "http://")
15
  {
16
  if($pics[$flag]->video == 1)
17
  {
34
  }
35
  if($img_title == "true" || $img_desc == "true")
36
  {
37
+ ?><div class="dynamic_css margin_thumbs thumbnail_width<?php echo $unique_id;?> widget_margin_thumbs<?php echo $unique_id;?> gb_overlay">
 
38
  <div class="widgetImgLiquidFill<?php echo $unique_id;?> imgLiquidFill opactiy_thumbs">
39
  <div class="overlay_text">
40
  <h5><?php echo stripcslashes(htmlspecialchars_decode($pics[$flag]->title));?></h5>
57
  if($pics[$flag]->video == 1)
58
  {
59
  ?>
60
+ <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $pics[$flag]->pic_id;?>" type="video" src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
 
 
61
  <?php
62
  }
63
  else
64
  {
65
  ?>
66
+ <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $unique_id;?>" type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
 
67
  <?php
68
  }
69
  ?>
73
  }
74
  else
75
  {
76
+ ?><div class="imgLiquidFill widgetImgLiquidFill<?php echo $unique_id;?> shutter-gb-img-wrap opactiy_thumbs dynamic_css margin_thumbs thumbnail_width<?php echo $unique_id;?> widget_margin_thumbs<?php echo $unique_id;?>" >
 
77
  <?php
78
  if($pics[$flag]->video == 1)
79
  {
80
  ?>
81
+ <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $pics[$flag]->pic_id;?>" type="video" src="<?php echo stripcslashes($video_thumb_url);?>" style="height:<?php echo $thumbnails_height;?>px;"/>
 
 
82
  <?php
83
  }
84
  else
85
  {
86
  ?>
87
+ <img imageid="<?php echo $pics[$flag]->pic_id;?>" id="ux_gb_img_<?php echo $unique_id;?>" type="image" src="<?php echo stripcslashes(GALLERY_BK_THUMB_SMALL_URL.$pics[$flag]->thumbnail_url);?>"/>
 
88
  <?php
89
  }
90
  ?>
91
  </div>
92
  <?php
93
  }
94
+ ?></a>
 
95
  <?php
96
  }
97
+ ?></div>
 
 
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.95
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -75,6 +75,7 @@ function plugin_install_script_for_gallery_bank()
75
  function plugin_uninstall_script_for_gallery_bank()
76
  {
77
  delete_option("gallery-bank-automatic_update");
 
78
  }
79
  /*************************************************************************************/
80
  function gallery_bank_plugin_load_text_domain()
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.96
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
75
  function plugin_uninstall_script_for_gallery_bank()
76
  {
77
  delete_option("gallery-bank-automatic_update");
78
+ wp_clear_scheduled_hook("gallery_bank_auto_update");
79
  }
80
  /*************************************************************************************/
81
  function gallery_bank_plugin_load_text_domain()
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Gallery-Bank,contact-banker
3
  Tags: add album, add gallery, add picture, add pictures, admin, AJAX, album, banner rotator, best gallery, best gallery plugin, best image slider, best portfolio, bilder, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery, gallery decription, gallery image, gallery lightbox, Gallery Plugin, gallery shortcode, gallery slider, gelary, gellary, gellery, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image gallery, image gallery plugin, image lightbox, image rotate, image slider, image slideshow, images, images gallery, jquery, jquery gallery, jquery slider, jquery slideshow, lightbox, links, media, media gallery, multiple pictures, nextgen gallery, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive gallery, responsive image gallery, responsive slider, responsive slideshow, responsive wordpress photo gallery, seo, seo image, shortcode, sidebar, Simple gallery, slide show, slideshow, thumbnail, twitter, upload images, upload photos, video gallery, view images, view pictures, website gallery, widget, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wordpress portfolio plugin, wordpress seo, wp gallery, wp gallery plugin, wp gallery plugins, wp slider
4
  Requires at least: 3.4
5
  Tested up to: 4.1
6
- Stable tag: 3.0.95
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -487,6 +487,13 @@ is False in shortcode.
487
 
488
  == Changelog ==
489
 
 
 
 
 
 
 
 
490
  = 3.0.95 =
491
 
492
  * Fixed Major Bug Related to PL Uploader.
3
  Tags: add album, add gallery, add picture, add pictures, admin, AJAX, album, banner rotator, best gallery, best gallery plugin, best image slider, best portfolio, bilder, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery, gallery decription, gallery image, gallery lightbox, Gallery Plugin, gallery shortcode, gallery slider, gelary, gellary, gellery, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image gallery, image gallery plugin, image lightbox, image rotate, image slider, image slideshow, images, images gallery, jquery, jquery gallery, jquery slider, jquery slideshow, lightbox, links, media, media gallery, multiple pictures, nextgen gallery, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive gallery, responsive image gallery, responsive slider, responsive slideshow, responsive wordpress photo gallery, seo, seo image, shortcode, sidebar, Simple gallery, slide show, slideshow, thumbnail, twitter, upload images, upload photos, video gallery, view images, view pictures, website gallery, widget, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wordpress portfolio plugin, wordpress seo, wp gallery, wp gallery plugin, wp gallery plugins, wp slider
4
  Requires at least: 3.4
5
  Tested up to: 4.1
6
+ Stable tag: 3.0.96
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
487
 
488
  == Changelog ==
489
 
490
+ = 3.0.96 =
491
+
492
+ * Fixed compatibility issue with woocommerce plugin.
493
+ * Fixed Layout issues.
494
+ * Fixed whitespacing issue.
495
+ * Unset plugin update scheduler on plugin uninstall.
496
+
497
  = 3.0.95 =
498
 
499
  * Fixed Major Bug Related to PL Uploader.