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 | 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 +1 -0
- front_views/grid-albums.php +24 -33
- front_views/includes_common_after.php +220 -226
- front_views/includes_common_before.php +438 -479
- front_views/listed-album.php +69 -88
- front_views/masonry-gallery.php +14 -24
- front_views/single-album.php +51 -63
- front_views/thumbnail-gallery.php +12 -22
- gallery-bank.php +2 -1
- readme.txt +8 -1
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 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
<div class="gallery-bank-hover-details">
|
27 |
-
|
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 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
</div>
|
79 |
</div>
|
80 |
<?php
|
@@ -83,12 +74,12 @@
|
|
83 |
</div>
|
84 |
<?php
|
85 |
if ($album_seperator == 1) {
|
86 |
-
|
87 |
-
|
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 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
<script type="text/javascript">
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
?>
|
54 |
</script>
|
55 |
-
|
56 |
break;
|
57 |
-
|
58 |
-
|
59 |
<script type="text/javascript">
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
<?php
|
117 |
}
|
118 |
elseif($album_type == "list")
|
119 |
{
|
120 |
?>
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
}
|
169 |
<?php
|
170 |
}
|
171 |
else
|
172 |
{
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
<?php
|
223 |
}
|
224 |
?>
|
225 |
</script>
|
226 |
-
|
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 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
|
|
|
|
244 |
});
|
245 |
-
|
246 |
function onPictureChanged()
|
247 |
{
|
248 |
-
|
249 |
-
jQuery(
|
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 |
+
"¶m=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 |
+
"¶m=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 |
+
"¶m=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 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
|
|
|
|
293 |
.thumbnail_width<?php echo $unique_id;?>
|
294 |
{
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
}
|
299 |
-
|
300 |
-
|
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 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
{
|
330 |
?>
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
}
|
366 |
<?php
|
367 |
}
|
368 |
?>
|
369 |
.images-in-row_<?php echo $unique_id;?> a:hover
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
.margin_thumbs {
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
<?php
|
378 |
}
|
379 |
else
|
@@ -381,436 +383,393 @@ switch ($album_type) {
|
|
381 |
?>
|
382 |
.widgetImgLiquidFill<?php echo $unique_id;?> {
|
383 |
<?php
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
{
|
402 |
text-decoration: none !important;
|
403 |
}
|
404 |
-
|
405 |
-
|
406 |
{
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
}
|
441 |
-
}
|
442 |
-
?> clear: both;
|
443 |
-
}
|
444 |
<?php
|
445 |
}
|
446 |
?>
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
<?php
|
452 |
}
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
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 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
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 |
-
|
553 |
-
<?php
|
554 |
}
|
555 |
?>
|
556 |
-
|
557 |
<?php
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
?>
|
568 |
-
<?php
|
569 |
}
|
570 |
else
|
571 |
{
|
572 |
-
|
573 |
-
<?php
|
574 |
}
|
575 |
?>
|
576 |
}
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
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 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
width: 100% !important;
|
643 |
<?php
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
<?php
|
648 |
}
|
649 |
else
|
650 |
{
|
651 |
-
|
652 |
-
<?php
|
653 |
}
|
654 |
?> display: inline-block;
|
655 |
}
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
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 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
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 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
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 |
-
|
2 |
-
|
3 |
-
|
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 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
?>
|
23 |
-
|
24 |
<div class="gallery-bank-hover-details">
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
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 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
<?php echo $album_click_text; ?>
|
76 |
-
</a>
|
77 |
-
</div>
|
78 |
-
</div>
|
79 |
-
</div>
|
80 |
-
<?php
|
81 |
}
|
82 |
-
|
83 |
</div>
|
84 |
-
|
85 |
<?php
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
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 |
-
|
11 |
-
|
12 |
-
|
13 |
}
|
14 |
<?php
|
15 |
}
|
@@ -20,9 +20,9 @@
|
|
20 |
{
|
21 |
width:<?php echo $thumbnails_width+1;?>px !important;
|
22 |
border-radius:0px !important;
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
}
|
27 |
<?php
|
28 |
}
|
@@ -33,13 +33,13 @@
|
|
33 |
.gallery-sizer { width:<?php echo $thumbnails_width + 10;?>px !important; }
|
34 |
}
|
35 |
</style>
|
36 |
-
<div
|
37 |
<?php
|
38 |
$css_class = $widget == "true" ? "widget_width_thumb". $unique_id : "width_thumb ";
|
39 |
for($flag = 0; $flag< count($pics); $flag++)
|
40 |
{
|
41 |
-
|
42 |
-
|
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 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
69 |
<?php
|
70 |
}
|
71 |
?>
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
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 |
-
|
12 |
-
|
13 |
-
|
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.
|
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.
|
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.
|