Version Description
- Bug of Thumbnail Disorted Images fixed
- Bug of No Album images shown in case of admin not logged in fixed.
- Uninstall Hook Removed
Download this release
Release Info
Developer | Gallery-Bank |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.6
- css/visuallightbox.css +241 -240
- gallery-bank.php +2 -6
- lib/front-view-album-class.php +5 -12
- lib/gallery-bank-class.php +0 -2
- readme.txt +7 -1
- views/front-view-albums.php +1 -1
- views/front_view.php +4 -4
css/visuallightbox.css
CHANGED
@@ -1,240 +1,241 @@
|
|
1 |
-
#vlb1overlay{
|
2 |
-
position:absolute;
|
3 |
-
top:0;
|
4 |
-
left:0;
|
5 |
-
z-index:190;
|
6 |
-
width:100%;
|
7 |
-
height:auto;
|
8 |
-
background-color:#ffffff;
|
9 |
-
}
|
10 |
-
|
11 |
-
#vlb1lightbox{
|
12 |
-
position:absolute;
|
13 |
-
top:20px;
|
14 |
-
left:0;
|
15 |
-
width:100%;
|
16 |
-
z-index:200;
|
17 |
-
text-align:center;
|
18 |
-
color:#151410;
|
19 |
-
line-height:0;
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
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 |
-
|
117 |
-
|
118 |
-
font
|
119 |
-
font-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
#
|
130 |
-
#
|
131 |
-
#
|
132 |
-
#
|
133 |
-
#vlb1prevLinkDetails {
|
134 |
-
#
|
135 |
-
}
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
background
|
144 |
-
background-
|
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 |
-
|
170 |
-
|
171 |
-
|
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 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
|
1 |
+
#vlb1overlay{
|
2 |
+
position:absolute;
|
3 |
+
top:0;
|
4 |
+
left:0;
|
5 |
+
z-index:190;
|
6 |
+
width:100%;
|
7 |
+
height:auto;
|
8 |
+
background-color:#ffffff;
|
9 |
+
}
|
10 |
+
|
11 |
+
#vlb1lightbox{
|
12 |
+
position:absolute;
|
13 |
+
top:20px;
|
14 |
+
left:0;
|
15 |
+
width:100%;
|
16 |
+
z-index:200;
|
17 |
+
text-align:center;
|
18 |
+
color:#151410;
|
19 |
+
line-height:0;
|
20 |
+
z-index:99999;
|
21 |
+
}
|
22 |
+
#vlb1lightbox td{
|
23 |
+
vertical-align:top;
|
24 |
+
}
|
25 |
+
#vlb1lightbox a, #vlb1lightbox a:hover {
|
26 |
+
border-bottom:none;
|
27 |
+
color:#151410;
|
28 |
+
text-decoration:underline;
|
29 |
+
}
|
30 |
+
|
31 |
+
#vlb1lightbox a img{ border:none; }
|
32 |
+
|
33 |
+
#vlb1outerImageContainer{
|
34 |
+
width:auto;
|
35 |
+
height:auto; /* without this line error in IE8 detected */
|
36 |
+
margin:0 auto;
|
37 |
+
position:relative;
|
38 |
+
border: none !important;
|
39 |
+
}
|
40 |
+
|
41 |
+
#vlb1lightboxImage{
|
42 |
+
width:100%;
|
43 |
+
height:100%;
|
44 |
+
}
|
45 |
+
|
46 |
+
#vlb1imageContainerMain{
|
47 |
+
margin:0 auto;
|
48 |
+
overflow:visible;
|
49 |
+
position:relative;
|
50 |
+
font-size:0;/* ie fix - big info bar*/
|
51 |
+
}
|
52 |
+
|
53 |
+
#vlb1imageContainer{
|
54 |
+
width:10px;
|
55 |
+
height:10px;
|
56 |
+
margin:0 auto;
|
57 |
+
overflow:hidden;
|
58 |
+
background-color:#fff;
|
59 |
+
position:relative;
|
60 |
+
font-size:0;/* ie fix - big info bar*/
|
61 |
+
}
|
62 |
+
|
63 |
+
#vlb1loading{
|
64 |
+
position:absolute;
|
65 |
+
top:40%;
|
66 |
+
left:0%;
|
67 |
+
height:25%;
|
68 |
+
width:100%;
|
69 |
+
text-align:center;
|
70 |
+
font-size:10px;
|
71 |
+
z-index:1;
|
72 |
+
}
|
73 |
+
#vlb1loadingLink {
|
74 |
+
display:block;
|
75 |
+
margin:0 auto;
|
76 |
+
padding:0;
|
77 |
+
width:32px;
|
78 |
+
height:32px;
|
79 |
+
background:url(../images/loading.gif) center center no-repeat;
|
80 |
+
text-indent:-9999px;
|
81 |
+
}
|
82 |
+
#vlb1hoverNav{
|
83 |
+
position:absolute;
|
84 |
+
top:0;
|
85 |
+
left:0;
|
86 |
+
height:100%;
|
87 |
+
width:100%;
|
88 |
+
z-index:10;
|
89 |
+
}
|
90 |
+
#vlb1imageContainer>#hoverNav{ left:0;}
|
91 |
+
#vlb1prevLinkImg, #vlb1nextLinkImg{
|
92 |
+
top:0;
|
93 |
+
width:48px;
|
94 |
+
height:100%;
|
95 |
+
position:absolute;
|
96 |
+
z-index:20;
|
97 |
+
outline-style:none;
|
98 |
+
display:block;
|
99 |
+
text-indent:-9999px;
|
100 |
+
background:none;
|
101 |
+
}
|
102 |
+
* html #vlb1prevLinkImg,* html #vlb1nextLinkImg{
|
103 |
+
background-image:url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
|
104 |
+
}
|
105 |
+
#vlb1prevLinkImg { left: 0; }
|
106 |
+
#vlb1nextLinkImg { right: 0; }
|
107 |
+
#vlb1prevLinkImg:hover, #vlb1prevLinkImg.hover, #vlb1prevLinkImg:visited:hover {
|
108 |
+
background:url(../images/prev.png) 5% center no-repeat;
|
109 |
+
_background-image:url(../images/prev_ie6.gif)
|
110 |
+
}
|
111 |
+
#vlb1nextLinkImg:hover, #vlb1nextLinkImg.hover, #vlb1nextLinkImg:visited:hover {
|
112 |
+
background:url(../images/next.png) 97% center no-repeat;
|
113 |
+
_background-image:url(../images/next_ie6.gif)
|
114 |
+
}
|
115 |
+
|
116 |
+
|
117 |
+
#vlb1imageDataContainer{
|
118 |
+
font:10px Verdana, Helvetica, sans-serif;
|
119 |
+
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
|
120 |
+
font-size:12px;
|
121 |
+
background-color:#fff;
|
122 |
+
width:100%;
|
123 |
+
}
|
124 |
+
|
125 |
+
#vlb1imageData{
|
126 |
+
overflow:hidden;
|
127 |
+
width:100%;
|
128 |
+
}
|
129 |
+
#vlb1imageDetails{ width:70%; float:left; text-align:left; padding:10px 10px 0 0;}
|
130 |
+
#vlb1caption{ font-weight:bold; display:block;}
|
131 |
+
#vlb1numberDisplay{ display:block; float:left; padding:3px 10px 0 0;}
|
132 |
+
#vlb1detailsNav{display:block; float:left; padding:0; }
|
133 |
+
#vlb1prevLinkDetails, #vlb1nextLinkDetails, #vlb1slideShowControl{ background-repeat:no-repeat; outline-style:none; display:block; float:left;}
|
134 |
+
#vlb1prevLinkDetails { margin:3px; margin-top:0px; width:24px;height:24px; background:url(../images/prevlabel.gif) left center;}
|
135 |
+
#vlb1nextLinkDetails { margin:3px; margin-top:0px; width:24px;height:24px; background:url(../images/nextlabel.gif) right center;}
|
136 |
+
}
|
137 |
+
|
138 |
+
#vlb1slideShowControl{
|
139 |
+
display:block;
|
140 |
+
width:24px;
|
141 |
+
height:24px;
|
142 |
+
float:left;
|
143 |
+
background:url(../images/start.gif);
|
144 |
+
background-position:center center;
|
145 |
+
background-repeat:no-repeat;
|
146 |
+
}
|
147 |
+
|
148 |
+
#vlb1close{
|
149 |
+
padding:20px 0 0;
|
150 |
+
float:right;
|
151 |
+
}
|
152 |
+
#vlb1closeLink {
|
153 |
+
display:block; outline-style:none; margin:0; padding:0; text-decoration:none;
|
154 |
+
width:32px;
|
155 |
+
height:32px;
|
156 |
+
background:url(../images/close.gif) no-repeat;
|
157 |
+
}
|
158 |
+
|
159 |
+
|
160 |
+
.clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden;}
|
161 |
+
* html>body .clearfix {display:inline-block; width:100%;}
|
162 |
+
|
163 |
+
* html .clearfix {
|
164 |
+
/* Hides from IE-mac \*/
|
165 |
+
height:1%;
|
166 |
+
/* End hide from IE-mac */
|
167 |
+
}
|
168 |
+
|
169 |
+
|
170 |
+
#vlb1outerImageFrame{
|
171 |
+
border:solid 1px red;
|
172 |
+
height:100%;
|
173 |
+
width:100%;
|
174 |
+
position:absolute;
|
175 |
+
}
|
176 |
+
|
177 |
+
|
178 |
+
#vlb1outerImageContainer{
|
179 |
+
overflow:visible;
|
180 |
+
}
|
181 |
+
#vlb1outerImageContainer td{
|
182 |
+
text-align:center;
|
183 |
+
padding:0;
|
184 |
+
}
|
185 |
+
|
186 |
+
#vlb1lightboxFrameBody{
|
187 |
+
background-color:#fff;
|
188 |
+
border:solid 1px #fff; /* hack for opera table small cell width */
|
189 |
+
}
|
190 |
+
|
191 |
+
#vlb1outerImageContainer td, #vlb1outerImageContainer tr{
|
192 |
+
font-size:0;
|
193 |
+
border:0 none !important;
|
194 |
+
}
|
195 |
+
/* frame style */
|
196 |
+
#vlb1outerImageContainer td.tl, #vlb1outerImageContainer td.br{
|
197 |
+
height:38px;
|
198 |
+
width:38px;
|
199 |
+
}
|
200 |
+
.vlb{display:none;}
|
201 |
+
#vlb1outerImageContainer td.tl{
|
202 |
+
background-image:url(../images/borderTopLeft.png);
|
203 |
+
_background-image:none;
|
204 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderTopLeft.png', sizingMethod='scale');
|
205 |
+
}
|
206 |
+
#vlb1outerImageContainer td.tc{
|
207 |
+
background-image:url(../images/borderTopCenter.png);
|
208 |
+
_background-image:none;
|
209 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderTopCenter.png', sizingMethod='scale');
|
210 |
+
}
|
211 |
+
#vlb1outerImageContainer td.tr{
|
212 |
+
background-image:url(../images/borderTopRight.png);
|
213 |
+
_background-image:none;
|
214 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderTopRight.png', sizingMethod='scale');
|
215 |
+
}
|
216 |
+
#vlb1outerImageContainer td.ml{
|
217 |
+
background-image:url(../images/borderMiddleLeft.png);
|
218 |
+
_background-image:none;
|
219 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderMiddleLeft.png', sizingMethod='scale');
|
220 |
+
}
|
221 |
+
#vlb1outerImageContainer td.mr{
|
222 |
+
background-image:url(../images/borderMiddleRight.png);
|
223 |
+
_background-image:none;
|
224 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderMiddleRight.png', sizingMethod='scale');
|
225 |
+
}
|
226 |
+
#vlb1outerImageContainer td.bl{
|
227 |
+
background-image:url(../images/borderBottomLeft.png);
|
228 |
+
_background-image:none;
|
229 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderBottomLeft.png', sizingMethod='scale');
|
230 |
+
}
|
231 |
+
#vlb1outerImageContainer td.bc{
|
232 |
+
background-image:url(../images/borderBottomCenter.png);
|
233 |
+
_background-image:none;
|
234 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderBottomCenter.png', sizingMethod='scale');
|
235 |
+
}
|
236 |
+
#vlb1outerImageContainer td.br{
|
237 |
+
background-image:url(../images/borderBottomRight.png);
|
238 |
+
_background-image:none;
|
239 |
+
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='index_files/vlb_files1/borderBottomRight.png', sizingMethod='scale');
|
240 |
+
}
|
241 |
+
|
gallery-bank.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://gallery-bank.com
|
5 |
Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
|
6 |
Author: Gallery-Bank
|
7 |
-
Version: 1.
|
8 |
Author URI: http://gallery-bank.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -30,10 +30,7 @@ function plugin_install_script_for_gallery_bank()
|
|
30 |
{
|
31 |
include_once GALLERY_BK_PLUGIN_DIR .'/install-script.php';
|
32 |
}
|
33 |
-
|
34 |
-
{
|
35 |
-
include_once GALLERY_BK_PLUGIN_DIR .'/uninstall-script.php';
|
36 |
-
}
|
37 |
function plugin_load_textdomain()
|
38 |
{
|
39 |
if( function_exists( 'load_plugin_textdomain' ) )
|
@@ -44,6 +41,5 @@ function plugin_load_textdomain()
|
|
44 |
add_action('plugins_loaded', 'plugin_load_textdomain');
|
45 |
|
46 |
register_activation_hook(__FILE__,'plugin_install_script_for_gallery_bank');
|
47 |
-
register_uninstall_hook(__FILE__,'plugin_delete_script_for_gallery_bank');
|
48 |
|
49 |
?>
|
4 |
Plugin URI: http://gallery-bank.com
|
5 |
Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
|
6 |
Author: Gallery-Bank
|
7 |
+
Version: 1.6
|
8 |
Author URI: http://gallery-bank.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
30 |
{
|
31 |
include_once GALLERY_BK_PLUGIN_DIR .'/install-script.php';
|
32 |
}
|
33 |
+
|
|
|
|
|
|
|
34 |
function plugin_load_textdomain()
|
35 |
{
|
36 |
if( function_exists( 'load_plugin_textdomain' ) )
|
41 |
add_action('plugins_loaded', 'plugin_load_textdomain');
|
42 |
|
43 |
register_activation_hook(__FILE__,'plugin_install_script_for_gallery_bank');
|
|
|
44 |
|
45 |
?>
|
lib/front-view-album-class.php
CHANGED
@@ -1,11 +1,4 @@
|
|
1 |
<?php
|
2 |
-
global $wpdb;
|
3 |
-
if (!current_user_can("edit_posts") && ! current_user_can("edit_pages"))
|
4 |
-
{
|
5 |
-
return;
|
6 |
-
}
|
7 |
-
else
|
8 |
-
{
|
9 |
if(isset($_REQUEST["param"]))
|
10 |
{
|
11 |
if($_REQUEST["param"] == "show_images")
|
@@ -42,7 +35,7 @@ else
|
|
42 |
<br/>
|
43 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding:10px; display: inline-block;">
|
44 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
45 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
46 |
</div>
|
47 |
<?php
|
48 |
}
|
@@ -51,7 +44,7 @@ else
|
|
51 |
?>
|
52 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
53 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
54 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
55 |
</div>
|
56 |
<?php
|
57 |
}
|
@@ -64,7 +57,7 @@ else
|
|
64 |
<br/>
|
65 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
66 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
67 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
68 |
</div>
|
69 |
<?php
|
70 |
}
|
@@ -73,7 +66,7 @@ else
|
|
73 |
?>
|
74 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
75 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
76 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
77 |
</div>
|
78 |
<?php
|
79 |
}
|
@@ -140,5 +133,5 @@ else
|
|
140 |
die();
|
141 |
}
|
142 |
}
|
143 |
-
|
144 |
?>
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
if(isset($_REQUEST["param"]))
|
3 |
{
|
4 |
if($_REQUEST["param"] == "show_images")
|
35 |
<br/>
|
36 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding:10px; display: inline-block;">
|
37 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
38 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
39 |
</div>
|
40 |
<?php
|
41 |
}
|
44 |
?>
|
45 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
46 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
47 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
48 |
</div>
|
49 |
<?php
|
50 |
}
|
57 |
<br/>
|
58 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
59 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
60 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
61 |
</div>
|
62 |
<?php
|
63 |
}
|
66 |
?>
|
67 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
68 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
69 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
70 |
</div>
|
71 |
<?php
|
72 |
}
|
133 |
die();
|
134 |
}
|
135 |
}
|
136 |
+
|
137 |
?>
|
lib/gallery-bank-class.php
CHANGED
@@ -76,7 +76,6 @@ function view_album()
|
|
76 |
global $wpdb;
|
77 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/header.php';
|
78 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/menus-gallery-bank.php';
|
79 |
-
|
80 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/view-album.php';
|
81 |
}
|
82 |
function edit_album()
|
@@ -84,7 +83,6 @@ function edit_album()
|
|
84 |
global $wpdb;
|
85 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/header.php';
|
86 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/menus-gallery-bank.php';
|
87 |
-
|
88 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/edit-album.php';
|
89 |
}
|
90 |
|
76 |
global $wpdb;
|
77 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/header.php';
|
78 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/menus-gallery-bank.php';
|
|
|
79 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/view-album.php';
|
80 |
}
|
81 |
function edit_album()
|
83 |
global $wpdb;
|
84 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/header.php';
|
85 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/menus-gallery-bank.php';
|
|
|
86 |
include_once GALLERY_BK_PLUGIN_DIR .'/views/edit-album.php';
|
87 |
}
|
88 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Gallery-Bank
|
|
3 |
Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.6 Beta
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -95,6 +95,12 @@ Visit [here](http://gallery-bank.com) to upgrade to Pro Version now.
|
|
95 |
|
96 |
== Changelog ==
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
= 1.5 =
|
99 |
|
100 |
* Album Covers Introduced
|
3 |
Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.6 Beta
|
6 |
+
Stable tag: 1.6
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
95 |
|
96 |
== Changelog ==
|
97 |
|
98 |
+
= 1.6 =
|
99 |
+
|
100 |
+
* Bug of Thumbnail Disorted Images fixed
|
101 |
+
* Bug of No Album images shown in case of admin not logged in fixed.
|
102 |
+
* Uninstall Hook Removed
|
103 |
+
|
104 |
= 1.5 =
|
105 |
|
106 |
* Album Covers Introduced
|
views/front-view-albums.php
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
<div id="main_div<?php echo $album_id;?>" style="display: block;" class="album-cover">
|
35 |
<div class="box" style=" margin-top: 10px;">
|
36 |
<div id="view_bank_album_<?php echo $album_id;?>" style=" margin-top: 10px; padding: 10px;" >
|
37 |
-
<img class="imgHolder" src="<?php echo $album_cover->thumbnail_url; ?>" onclick="view_images(<?php echo $album_id;?>);" style="display:inline-block;border:5px solid #000; cursor:pointer;
|
38 |
<div style="text-align: justify;display:inline-block;vertical-align:middle;margin-left:20px;">
|
39 |
<div>
|
40 |
<h3><?php echo $album->album_name; ?> </h3>
|
34 |
<div id="main_div<?php echo $album_id;?>" style="display: block;" class="album-cover">
|
35 |
<div class="box" style=" margin-top: 10px;">
|
36 |
<div id="view_bank_album_<?php echo $album_id;?>" style=" margin-top: 10px; padding: 10px;" >
|
37 |
+
<img class="imgHolder" src="<?php echo $album_cover->thumbnail_url; ?>" onclick="view_images(<?php echo $album_id;?>);" style="display:inline-block;border:5px solid #000; cursor:pointer;" width="150px" />
|
38 |
<div style="text-align: justify;display:inline-block;vertical-align:middle;margin-left:20px;">
|
39 |
<div>
|
40 |
<h3><?php echo $album->album_name; ?> </h3>
|
views/front_view.php
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
<br/>
|
34 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
35 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
36 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
37 |
</div>
|
38 |
<?php
|
39 |
}
|
@@ -42,7 +42,7 @@
|
|
42 |
?>
|
43 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
44 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
45 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
46 |
</div>
|
47 |
<?php
|
48 |
}
|
@@ -55,7 +55,7 @@
|
|
55 |
<br/>
|
56 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
57 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
58 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
59 |
</div>
|
60 |
<?php
|
61 |
}
|
@@ -64,7 +64,7 @@
|
|
64 |
?>
|
65 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
66 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
67 |
-
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;
|
68 |
</div>
|
69 |
<?php
|
70 |
}
|
33 |
<br/>
|
34 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
35 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
36 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
37 |
</div>
|
38 |
<?php
|
39 |
}
|
42 |
?>
|
43 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
44 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?>">
|
45 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
46 |
</div>
|
47 |
<?php
|
48 |
}
|
55 |
<br/>
|
56 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
57 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
58 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
59 |
</div>
|
60 |
<?php
|
61 |
}
|
64 |
?>
|
65 |
<div id="bank_pics_<?php echo $flag; ?>" style="padding: 10px; display: inline-block;">
|
66 |
<a class="vlightbox1<?php echo $album_id;?>" id="<?php echo $pic_detail[$flag]->pic_id; ?>" href="<?php echo $pic_detail[$flag]->pic_path; ?>" title="<?php echo $pic_detail[$flag]->title; ?> (<?php echo $pic_detail[$flag]->description; ?>)">
|
67 |
+
<img src="<?php echo $pic_detail[$flag]->thumbnail_url; ?>" style="border: <?php echo $album->border_width;?>px solid <?php echo $album->border_color;?>;" width="150px" /></a>
|
68 |
</div>
|
69 |
<?php
|
70 |
}
|