Version Description
Download this release
Release Info
Developer | alexrabe |
Plugin | NextGEN Gallery – WordPress Gallery Plugin |
Version | 0.91 |
Comparing to | |
See all releases |
Code changes from version 0.90 to 0.91
- admin/addgallery.php +1 -4
- admin/admin.php +18 -10
- admin/album.php +0 -2
- admin/settings.php +0 -2
- admin/style.php +4 -4
- admin/wp25/about.php +7 -2
- admin/wp25/admin.php +1 -1
- admin/wp25/settings.php +3 -3
- changelog.txt +9 -0
- css/{Black_Minimalism .css → Black_Minimalism.css} +4 -2
- css/hovereffect.css +4 -2
- css/ngg_dkret3.css +1 -1
- css/ngg_k2.css +4 -2
- css/ngg_shadow.css +4 -2
- css/ngg_shadow2.css +4 -2
- css/nggallery.css +8 -2
- lib/nggallery.lib.php +5 -7
- lib/thumbnail.inc.php +1 -1
- nggallery.php +2 -2
- nggfunctions.php +12 -11
- ngginstall.php +2 -2
- nggshow.php +5 -7
- nggwidget.php +19 -17
admin/addgallery.php
CHANGED
@@ -88,10 +88,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
88 |
// message windows
|
89 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
90 |
?>
|
91 |
-
|
92 |
-
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/nggadmin.css" type="text/css" media="print, projection, screen"/>
|
93 |
-
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs.css" type="text/css" media="print, projection, screen"/>
|
94 |
-
|
95 |
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
|
96 |
<!--[if lte IE 7]>
|
97 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs-ie.css" type="text/css" media="projection, screen"/>
|
88 |
// message windows
|
89 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
90 |
?>
|
91 |
+
|
|
|
|
|
|
|
92 |
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
|
93 |
<!--[if lte IE 7]>
|
94 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs-ie.css" type="text/css" media="projection, screen"/>
|
admin/admin.php
CHANGED
@@ -11,12 +11,22 @@ function ngg_header() {
|
|
11 |
echo "\n".'<meta name="NextGEN" content="'.NGGVERSION.'" />';
|
12 |
echo "\n".'<meta http-equiv="pragma" content="no-cache" />'."\n";
|
13 |
|
14 |
-
//
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
21 |
}
|
22 |
|
@@ -55,6 +65,7 @@ function ngg_add_admin_js() {
|
|
55 |
if ( ($_GET['tab'] == 'ngg_gallery') && ($_GET['style'] != 'inline') )
|
56 |
wp_enqueue_script('thickbox', NGGALLERY_URLPATH .'thickbox/thickbox-pack.js', array('jquery'), '3.1.2');
|
57 |
}
|
|
|
58 |
|
59 |
// add to menu
|
60 |
add_action('admin_menu', 'add_nextgen_gallery_menu');
|
@@ -130,10 +141,7 @@ add_action('admin_menu', 'add_nextgen_gallery_menu');
|
|
130 |
break;
|
131 |
case "nggallery" :
|
132 |
default :
|
133 |
-
|
134 |
-
include_once (dirname (__FILE__). '/overview.php'); // nggallery_admin_overview
|
135 |
-
else
|
136 |
-
include_once (dirname (__FILE__). '/wp25/overview.php'); // nggallery_admin_overview
|
137 |
nggallery_admin_overview();
|
138 |
break;
|
139 |
}
|
11 |
echo "\n".'<meta name="NextGEN" content="'.NGGVERSION.'" />';
|
12 |
echo "\n".'<meta http-equiv="pragma" content="no-cache" />'."\n";
|
13 |
|
14 |
+
// add CSS for NextGEN pages
|
15 |
+
switch ($_GET['page']) {
|
16 |
+
case NGGFOLDER :
|
17 |
+
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/nggadmin.wp23.css" type="text/css" media="screen" />'."\n";
|
18 |
+
break;
|
19 |
+
case "nggallery-add-gallery" :
|
20 |
+
case "nggallery-options" :
|
21 |
+
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/nggadmin.wp23.css" type="text/css" media="screen" />'."\n";
|
22 |
+
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/jquery.tabs.css" type="text/css" media="print, projection, screen" />'."\n";
|
23 |
+
break;
|
24 |
+
case "nggallery-manage-gallery" :
|
25 |
+
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'thickbox/thickbox.css" type="text/css" media="print, projection, screen" />'."\n";
|
26 |
+
case "nggallery-roles" :
|
27 |
+
case "nggallery-manage-album" :
|
28 |
+
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/nggadmin.wp23.css" type="text/css" media="screen" />'."\n";
|
29 |
+
break;
|
30 |
}
|
31 |
}
|
32 |
|
65 |
if ( ($_GET['tab'] == 'ngg_gallery') && ($_GET['style'] != 'inline') )
|
66 |
wp_enqueue_script('thickbox', NGGALLERY_URLPATH .'thickbox/thickbox-pack.js', array('jquery'), '3.1.2');
|
67 |
}
|
68 |
+
|
69 |
|
70 |
// add to menu
|
71 |
add_action('admin_menu', 'add_nextgen_gallery_menu');
|
141 |
break;
|
142 |
case "nggallery" :
|
143 |
default :
|
144 |
+
include_once (dirname (__FILE__). '/overview.php'); // nggallery_admin_overview
|
|
|
|
|
|
|
145 |
nggallery_admin_overview();
|
146 |
break;
|
147 |
}
|
admin/album.php
CHANGED
@@ -48,8 +48,6 @@ function nggallery_admin_manage_album() {
|
|
48 |
// message windows
|
49 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
50 |
?>
|
51 |
-
<style type="text/css" media="all">@import "<?php echo NGGALLERY_URLPATH ?>css/nggallery.css";</style>
|
52 |
-
<style type="text/css" media="all">@import "<?php echo NGGALLERY_URLPATH ?>admin/css/nggadmin.css";</style>
|
53 |
<script type="text/javascript">
|
54 |
|
55 |
|
48 |
// message windows
|
49 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
50 |
?>
|
|
|
|
|
51 |
<script type="text/javascript">
|
52 |
|
53 |
|
admin/settings.php
CHANGED
@@ -51,9 +51,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
51 |
}
|
52 |
// message windows
|
53 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
54 |
-
|
55 |
?>
|
56 |
-
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs.css" type="text/css" media="print, projection, screen"/>
|
57 |
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
|
58 |
<!--[if lte IE 7]>
|
59 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs-ie.css" type="text/css" media="projection, screen"/>
|
51 |
}
|
52 |
// message windows
|
53 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
|
|
54 |
?>
|
|
|
55 |
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
|
56 |
<!--[if lte IE 7]>
|
57 |
<link rel="stylesheet" href="<?php echo NGGALLERY_URLPATH ?>admin/css/jquery.tabs-ie.css" type="text/css" media="projection, screen"/>
|
admin/style.php
CHANGED
@@ -10,8 +10,8 @@ if (isset($_POST['css'])) {
|
|
10 |
$act_cssfile = $_POST['css'];
|
11 |
if (isset($_POST['activate'])) {
|
12 |
// save option now
|
13 |
-
$ngg_options[activateCSS] = $_POST['activateCSS'];
|
14 |
-
$ngg_options[CSSfile] = $act_cssfile;
|
15 |
update_option('ngg_options', $ngg_options);
|
16 |
$messagetext = '<font color="green">'.__('Update successfully','nggallery').'</font>';
|
17 |
}
|
@@ -20,7 +20,7 @@ if (isset($_POST['css'])) {
|
|
20 |
if (isset($_POST['file']))
|
21 |
$act_cssfile = $_POST['file'];
|
22 |
else
|
23 |
-
$act_cssfile = $ngg_options[CSSfile];
|
24 |
}
|
25 |
|
26 |
// set the path
|
@@ -62,7 +62,7 @@ if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="up
|
|
62 |
<div class="wrap">
|
63 |
<form name="cssfiles" method="post">
|
64 |
<?php wp_nonce_field('ngg_style') ?>
|
65 |
-
<input type="checkbox" name="activateCSS" value="1" <?php checked('1', $ngg_options[activateCSS]); ?> />
|
66 |
<?php _e('Activate and use style sheet:','nggallery') ?>
|
67 |
<select name="css" id="css" onchange="this.form.submit();">
|
68 |
<?php
|
10 |
$act_cssfile = $_POST['css'];
|
11 |
if (isset($_POST['activate'])) {
|
12 |
// save option now
|
13 |
+
$ngg_options['activateCSS'] = $_POST['activateCSS'];
|
14 |
+
$ngg_options['CSSfile'] = $act_cssfile;
|
15 |
update_option('ngg_options', $ngg_options);
|
16 |
$messagetext = '<font color="green">'.__('Update successfully','nggallery').'</font>';
|
17 |
}
|
20 |
if (isset($_POST['file']))
|
21 |
$act_cssfile = $_POST['file'];
|
22 |
else
|
23 |
+
$act_cssfile = $ngg_options['CSSfile'];
|
24 |
}
|
25 |
|
26 |
// set the path
|
62 |
<div class="wrap">
|
63 |
<form name="cssfiles" method="post">
|
64 |
<?php wp_nonce_field('ngg_style') ?>
|
65 |
+
<input type="checkbox" name="activateCSS" value="1" <?php checked('1', $ngg_options['activateCSS']); ?> />
|
66 |
<?php _e('Activate and use style sheet:','nggallery') ?>
|
67 |
<select name="css" id="css" onchange="this.form.submit();">
|
68 |
<?php
|
admin/wp25/about.php
CHANGED
@@ -95,7 +95,9 @@ function ngg_list_contributors() {
|
|
95 |
"TheDonSansone (Forums contributor)" => "http://abseiling.200blogs.co.uk/",
|
96 |
"Komyshov (Russian Translation)" => "http://kf-web.ru/",
|
97 |
"aleX Zhang (Chinese Translation)" => "http://zhangfei.info/",
|
98 |
-
"TheSoloist (Chinese Translation)" => "http://www.soloist-ic.cn/"
|
|
|
|
|
99 |
);
|
100 |
|
101 |
ksort($contributors);
|
@@ -184,7 +186,10 @@ function ngg_list_support() {
|
|
184 |
"Mark Campbell" => "http://www.layersofcolor.com",
|
185 |
"Aaron Snyder" => "http://www.aaronsnyder.net",
|
186 |
"Patrick Pirker" => "",
|
187 |
-
"Christoph Wander" => ""
|
|
|
|
|
|
|
188 |
);
|
189 |
|
190 |
|
95 |
"TheDonSansone (Forums contributor)" => "http://abseiling.200blogs.co.uk/",
|
96 |
"Komyshov (Russian Translation)" => "http://kf-web.ru/",
|
97 |
"aleX Zhang (Chinese Translation)" => "http://zhangfei.info/",
|
98 |
+
"TheSoloist (Chinese Translation)" => "http://www.soloist-ic.cn/",
|
99 |
+
"Nica Luigi Cristian (Romanian Translation)" => "http://www.cristiannica.com/",
|
100 |
+
"Zdenek Hatas (Czech Translation)" => ""
|
101 |
);
|
102 |
|
103 |
ksort($contributors);
|
186 |
"Mark Campbell" => "http://www.layersofcolor.com",
|
187 |
"Aaron Snyder" => "http://www.aaronsnyder.net",
|
188 |
"Patrick Pirker" => "",
|
189 |
+
"Christoph Wander" => "",
|
190 |
+
"Monterey Bay Singles LLC" => "",
|
191 |
+
"Elvina Flower" => "",
|
192 |
+
"Colossal Pups" => ""
|
193 |
);
|
194 |
|
195 |
|
admin/wp25/admin.php
CHANGED
@@ -13,7 +13,7 @@ function ngg_header() {
|
|
13 |
|
14 |
// since WP2.5 redesign we need a different CSS
|
15 |
switch ($_GET['page']) {
|
16 |
-
case
|
17 |
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/nggadmin.wp25.css" type="text/css" media="screen" />'."\n";
|
18 |
wp_admin_css( 'css/dashboard' );
|
19 |
break;
|
13 |
|
14 |
// since WP2.5 redesign we need a different CSS
|
15 |
switch ($_GET['page']) {
|
16 |
+
case NGGFOLDER :
|
17 |
echo '<link rel="stylesheet" href="'.NGGALLERY_URLPATH.'admin/css/nggadmin.wp25.css" type="text/css" media="screen" />'."\n";
|
18 |
wp_admin_css( 'css/dashboard' );
|
19 |
break;
|
admin/wp25/settings.php
CHANGED
@@ -30,7 +30,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
30 |
$nggRewrite->flush();
|
31 |
// Save options
|
32 |
update_option('ngg_options', $ngg_options);
|
33 |
-
|
34 |
}
|
35 |
|
36 |
if ( isset($_POST['clearcache']) ) {
|
@@ -46,8 +46,8 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
46 |
}
|
47 |
closedir($handle);
|
48 |
}
|
49 |
-
|
50 |
-
|
51 |
}
|
52 |
// message windows
|
53 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
30 |
$nggRewrite->flush();
|
31 |
// Save options
|
32 |
update_option('ngg_options', $ngg_options);
|
33 |
+
nggallery::show_message(__('Update Successfully','nggallery'));
|
34 |
}
|
35 |
|
36 |
if ( isset($_POST['clearcache']) ) {
|
46 |
}
|
47 |
closedir($handle);
|
48 |
}
|
49 |
+
|
50 |
+
nggallery::show_message(__('Cache cleared','nggallery'));
|
51 |
}
|
52 |
// message windows
|
53 |
if(!empty($messagetext)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$messagetext.'</p></div>'; }
|
changelog.txt
CHANGED
@@ -1,6 +1,15 @@
|
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
V0.90 - 18.03.2008
|
5 |
- NEW : Sort order for images
|
6 |
- NEW : Updated style for Wp 2.5
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
4 |
+
V0.91 - 24.03.2008
|
5 |
+
- Changed : Resample mode back to 3
|
6 |
+
- Changed : Add DIV "ngg-singlepic-wrapper" for SingelPic (THX to Travel-Junkie)
|
7 |
+
- Changed : Increase Tweakfactor for Memory Check
|
8 |
+
- Bugfix : Use admin.css only on NextGEN pages (THX tp Oliver)
|
9 |
+
- Bugfix : Updates widgets (V1.21) for ImageRotator 3.15
|
10 |
+
- Bugfix : Change order of rewrite rules for WP 2.5
|
11 |
+
- Bugfix : Include Dashboard CSS also for page "nextgen-gallery"
|
12 |
+
|
13 |
V0.90 - 18.03.2008
|
14 |
- NEW : Sort order for images
|
15 |
- NEW : Updated style for Wp 2.5
|
css/{Black_Minimalism .css → Black_Minimalism.css}
RENAMED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Black Minimalism Theme
|
3 |
Description: For Black Minimalism Theme
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 1.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -240,13 +240,15 @@ it's only a template design
|
|
240 |
|
241 |
.ngg-left {
|
242 |
float: left;
|
|
|
243 |
}
|
244 |
|
245 |
.ngg-right {
|
246 |
float: right;
|
|
|
247 |
}
|
248 |
|
249 |
-
.ngg-center {
|
250 |
margin-left: auto;
|
251 |
margin-right: auto;
|
252 |
}
|
2 |
CSS Name: Black Minimalism Theme
|
3 |
Description: For Black Minimalism Theme
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 1.32
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
240 |
|
241 |
.ngg-left {
|
242 |
float: left;
|
243 |
+
padding-right:10px;
|
244 |
}
|
245 |
|
246 |
.ngg-right {
|
247 |
float: right;
|
248 |
+
padding-left:10px;
|
249 |
}
|
250 |
|
251 |
+
.ngg-center img {
|
252 |
margin-left: auto;
|
253 |
margin-right: auto;
|
254 |
}
|
css/hovereffect.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Hovereffect Styles
|
3 |
Description: Hover Stylesheet based on the idea of Hoverbox from http://host.sonspring.com/hoverbox/
|
4 |
Author: Alex Rabe - Orginal by Nathan Smith
|
5 |
-
Version: 0.
|
6 |
|
7 |
This is a template stylesheet which doesn't support description below the thumbnails. It's a experimental version.
|
8 |
|
@@ -289,13 +289,15 @@ This is a template stylesheet which doesn't support description below the thumbn
|
|
289 |
|
290 |
.ngg-left {
|
291 |
float: left;
|
|
|
292 |
}
|
293 |
|
294 |
.ngg-right {
|
295 |
float: right;
|
|
|
296 |
}
|
297 |
|
298 |
-
.ngg-center {
|
299 |
margin-left: auto;
|
300 |
margin-right: auto;
|
301 |
}
|
2 |
CSS Name: Hovereffect Styles
|
3 |
Description: Hover Stylesheet based on the idea of Hoverbox from http://host.sonspring.com/hoverbox/
|
4 |
Author: Alex Rabe - Orginal by Nathan Smith
|
5 |
+
Version: 0.60
|
6 |
|
7 |
This is a template stylesheet which doesn't support description below the thumbnails. It's a experimental version.
|
8 |
|
289 |
|
290 |
.ngg-left {
|
291 |
float: left;
|
292 |
+
padding-right:10px;
|
293 |
}
|
294 |
|
295 |
.ngg-right {
|
296 |
float: right;
|
297 |
+
padding-left:10px;
|
298 |
}
|
299 |
|
300 |
+
.ngg-center img {
|
301 |
margin-left: auto;
|
302 |
margin-right: auto;
|
303 |
}
|
css/ngg_dkret3.css
CHANGED
@@ -240,7 +240,7 @@ it's only a template design
|
|
240 |
float: right;
|
241 |
}
|
242 |
|
243 |
-
.ngg-center {
|
244 |
margin-left: auto;
|
245 |
margin-right: auto;
|
246 |
}
|
240 |
float: right;
|
241 |
}
|
242 |
|
243 |
+
.ngg-center img {
|
244 |
margin-left: auto;
|
245 |
margin-right: auto;
|
246 |
}
|
css/ngg_k2.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: K2 Theme
|
3 |
Description: NextGEN Style for K2 Theme
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 1.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -245,13 +245,15 @@ it's only a template design
|
|
245 |
|
246 |
.ngg-left {
|
247 |
float: left;
|
|
|
248 |
}
|
249 |
|
250 |
.ngg-right {
|
251 |
float: right;
|
|
|
252 |
}
|
253 |
|
254 |
-
.ngg-center {
|
255 |
margin-left: auto;
|
256 |
margin-right: auto;
|
257 |
}
|
2 |
CSS Name: K2 Theme
|
3 |
Description: NextGEN Style for K2 Theme
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 1.32
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
245 |
|
246 |
.ngg-left {
|
247 |
float: left;
|
248 |
+
padding-right:10px;
|
249 |
}
|
250 |
|
251 |
.ngg-right {
|
252 |
float: right;
|
253 |
+
padding-left:10px;
|
254 |
}
|
255 |
|
256 |
+
.ngg-center img {
|
257 |
margin-left: auto;
|
258 |
margin-right: auto;
|
259 |
}
|
css/ngg_shadow.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Shadow Effect
|
3 |
Description: NextGEN Default Style with a Shadow effect
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 1.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -234,13 +234,15 @@ it's only a template design
|
|
234 |
|
235 |
.ngg-left {
|
236 |
float: left;
|
|
|
237 |
}
|
238 |
|
239 |
.ngg-right {
|
240 |
float: right;
|
|
|
241 |
}
|
242 |
|
243 |
-
.ngg-center {
|
244 |
margin-left: auto;
|
245 |
margin-right: auto;
|
246 |
}
|
2 |
CSS Name: Shadow Effect
|
3 |
Description: NextGEN Default Style with a Shadow effect
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 1.32
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
234 |
|
235 |
.ngg-left {
|
236 |
float: left;
|
237 |
+
padding-right:10px;
|
238 |
}
|
239 |
|
240 |
.ngg-right {
|
241 |
float: right;
|
242 |
+
padding-left:10px;
|
243 |
}
|
244 |
|
245 |
+
.ngg-center img {
|
246 |
margin-left: auto;
|
247 |
margin-right: auto;
|
248 |
}
|
css/ngg_shadow2.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Shadow Effect with Description text
|
3 |
Description: NextGEN Default Style with a Shadow effect and description text below the thumbnail
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 1.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -242,13 +242,15 @@ it's only a template design
|
|
242 |
|
243 |
.ngg-left {
|
244 |
float: left;
|
|
|
245 |
}
|
246 |
|
247 |
.ngg-right {
|
248 |
float: right;
|
|
|
249 |
}
|
250 |
|
251 |
-
.ngg-center {
|
252 |
margin-left: auto;
|
253 |
margin-right: auto;
|
254 |
}
|
2 |
CSS Name: Shadow Effect with Description text
|
3 |
Description: NextGEN Default Style with a Shadow effect and description text below the thumbnail
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 1.42
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
242 |
|
243 |
.ngg-left {
|
244 |
float: left;
|
245 |
+
padding-right:10px;
|
246 |
}
|
247 |
|
248 |
.ngg-right {
|
249 |
float: right;
|
250 |
+
padding-left:10px;
|
251 |
}
|
252 |
|
253 |
+
.ngg-center img {
|
254 |
margin-left: auto;
|
255 |
margin-right: auto;
|
256 |
}
|
css/nggallery.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
CSS Name: Default Styles
|
3 |
Description: NextGEN Default Gallery Stylesheet
|
4 |
Author: Alex Rabe
|
5 |
-
Version: 1.
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
@@ -232,6 +232,10 @@ it's only a template design
|
|
232 |
}
|
233 |
|
234 |
/* ----------- Single picture -------------*/
|
|
|
|
|
|
|
|
|
235 |
.ngg-singlepic {
|
236 |
background-color:#FFFFFF;
|
237 |
border:1px solid #A9A9A9;
|
@@ -243,13 +247,15 @@ it's only a template design
|
|
243 |
|
244 |
.ngg-left {
|
245 |
float: left;
|
|
|
246 |
}
|
247 |
|
248 |
.ngg-right {
|
249 |
float: right;
|
|
|
250 |
}
|
251 |
|
252 |
-
.ngg-center {
|
253 |
margin-left: auto;
|
254 |
margin-right: auto;
|
255 |
}
|
2 |
CSS Name: Default Styles
|
3 |
Description: NextGEN Default Gallery Stylesheet
|
4 |
Author: Alex Rabe
|
5 |
+
Version: 1.42
|
6 |
|
7 |
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
|
8 |
styles with a default theme Kubrick. Modify it when your theme struggle with it,
|
232 |
}
|
233 |
|
234 |
/* ----------- Single picture -------------*/
|
235 |
+
.ngg-singlepic-wrapper {
|
236 |
+
padding: 1px;
|
237 |
+
}
|
238 |
+
|
239 |
.ngg-singlepic {
|
240 |
background-color:#FFFFFF;
|
241 |
border:1px solid #A9A9A9;
|
247 |
|
248 |
.ngg-left {
|
249 |
float: left;
|
250 |
+
padding-right:10px;
|
251 |
}
|
252 |
|
253 |
.ngg-right {
|
254 |
float: right;
|
255 |
+
padding-left:10px;
|
256 |
}
|
257 |
|
258 |
+
.ngg-center img {
|
259 |
margin-left: auto;
|
260 |
margin-right: auto;
|
261 |
}
|
lib/nggallery.lib.php
CHANGED
@@ -129,7 +129,7 @@ class nggImage{
|
|
129 |
return $this->href;
|
130 |
}
|
131 |
|
132 |
-
function cached_singlepic_file($width, $height, $mode = "" ) {
|
133 |
// This function creates a cache for all singlepics to reduce the CPU load
|
134 |
$ngg_options = get_option('ngg_options');
|
135 |
|
@@ -150,13 +150,11 @@ class nggImage{
|
|
150 |
if ( !wp_mkdir_p($cachefolder) )
|
151 |
return false;
|
152 |
|
153 |
-
|
154 |
-
$filepath = WINABSPATH . "/" . $this->path ."/" . $this->filename;
|
155 |
-
$thumb = new ngg_Thumbnail($filepath, TRUE);
|
156 |
// echo $thumb->errmsg;
|
157 |
|
158 |
if (!$thumb->error) {
|
159 |
-
$thumb->resize($width
|
160 |
|
161 |
if ($mode == 'watermark') {
|
162 |
if ($ngg_options['wmType'] == 'image') {
|
@@ -823,8 +821,8 @@ class nggRewrite {
|
|
823 |
$this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
|
824 |
$this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
|
825 |
);
|
826 |
-
|
827 |
-
$wp_rewrite->rules = $wp_rewrite->rules
|
828 |
|
829 |
}
|
830 |
|
129 |
return $this->href;
|
130 |
}
|
131 |
|
132 |
+
function cached_singlepic_file($width = "", $height = "", $mode = "" ) {
|
133 |
// This function creates a cache for all singlepics to reduce the CPU load
|
134 |
$ngg_options = get_option('ngg_options');
|
135 |
|
150 |
if ( !wp_mkdir_p($cachefolder) )
|
151 |
return false;
|
152 |
|
153 |
+
$thumb = new ngg_Thumbnail($this->absPath, TRUE);
|
|
|
|
|
154 |
// echo $thumb->errmsg;
|
155 |
|
156 |
if (!$thumb->error) {
|
157 |
+
$thumb->resize($width , $height);
|
158 |
|
159 |
if ($mode == 'watermark') {
|
160 |
if ($ngg_options['wmType'] == 'image') {
|
821 |
$this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/slideshow/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=slide',
|
822 |
$this->slug.'/post/([^/]+)/album-([0-9]+)/gallery-([0-9]+)/page-([0-9]+)/images/?$' => 'index.php?name=$matches[1]&album=$matches[2]&gallery=$matches[3]&nggpage=$matches[4]&show=gallery',
|
823 |
);
|
824 |
+
|
825 |
+
$wp_rewrite->rules = array_merge($rewrite_rules, $wp_rewrite->rules);
|
826 |
|
827 |
}
|
828 |
|
lib/thumbnail.inc.php
CHANGED
@@ -228,7 +228,7 @@ class ngg_Thumbnail {
|
|
228 |
}
|
229 |
$MB = 1048576; // number of bytes in 1M
|
230 |
$K64 = 65536; // number of bytes in 64K
|
231 |
-
$TWEAKFACTOR = 1.
|
232 |
$memoryNeeded = round( ( $imageInfo[0] * $imageInfo[1]
|
233 |
* $imageInfo['bits']
|
234 |
* $CHANNEL / 8
|
228 |
}
|
229 |
$MB = 1048576; // number of bytes in 1M
|
230 |
$K64 = 65536; // number of bytes in 64K
|
231 |
+
$TWEAKFACTOR = 1.68; // Or whatever works for you
|
232 |
$memoryNeeded = round( ( $imageInfo[0] * $imageInfo[1]
|
233 |
* $imageInfo['bits']
|
234 |
* $CHANNEL / 8
|
nggallery.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: NextGEN Gallery
|
|
4 |
Plugin URI: http://alexrabe.boelinger.com/?page_id=80
|
5 |
Description: A NextGENeration Photo gallery for the WEB2.0(beta).
|
6 |
Author: NextGEN DEV-Team
|
7 |
-
Version: 0.
|
8 |
|
9 |
Author URI: http://alexrabe.boelinger.com/
|
10 |
|
@@ -55,7 +55,7 @@ if ( (IS_WP21_COMPATIBLE == FALSE) and (IS_WPMU != TRUE) ){
|
|
55 |
}
|
56 |
|
57 |
// Version and path to check version
|
58 |
-
define('NGGVERSION', "0.
|
59 |
// Minimum required database version
|
60 |
define('NGG_DBVERSION', "0.84");
|
61 |
define('NGGURL', "http://nextgen.boelinger.com/version.php");
|
4 |
Plugin URI: http://alexrabe.boelinger.com/?page_id=80
|
5 |
Description: A NextGENeration Photo gallery for the WEB2.0(beta).
|
6 |
Author: NextGEN DEV-Team
|
7 |
+
Version: 0.91
|
8 |
|
9 |
Author URI: http://alexrabe.boelinger.com/
|
10 |
|
55 |
}
|
56 |
|
57 |
// Version and path to check version
|
58 |
+
define('NGGVERSION', "0.91");
|
59 |
// Minimum required database version
|
60 |
define('NGG_DBVERSION', "0.84");
|
61 |
define('NGGURL', "http://nextgen.boelinger.com/version.php");
|
nggfunctions.php
CHANGED
@@ -251,7 +251,7 @@ function nggShowGallery($galleryID) {
|
|
251 |
$out = nggCreateGallery($picturelist,$galleryID);
|
252 |
}
|
253 |
|
254 |
-
$out = apply_filters('ngg_show_gallery_content', $out);
|
255 |
return $out;
|
256 |
}
|
257 |
|
@@ -392,7 +392,7 @@ function nggShowAlbum($albumID,$mode = "extend") {
|
|
392 |
$out .= '</div>'."\n";
|
393 |
$out .= '<div class="ngg-clear"></div>'."\n";
|
394 |
|
395 |
-
$out = apply_filters('ngg_show_album_content', $out);
|
396 |
return $out;
|
397 |
}
|
398 |
|
@@ -469,7 +469,7 @@ function nggShowImageBrowser($galleryID) {
|
|
469 |
$out = nggCreateImageBrowser($picturelist);
|
470 |
}
|
471 |
|
472 |
-
$out = apply_filters('ngg_show_imagebrowser_content', $out);
|
473 |
return $out;
|
474 |
|
475 |
}
|
@@ -581,14 +581,15 @@ function nggSinglePicture($imageID,$width=250,$height=250,$mode="",$float="") {
|
|
581 |
$cache_url = $picture->cached_singlepic_file($width, $height, $mode );
|
582 |
|
583 |
// add fullsize picture as link
|
584 |
-
$out = '<a href="'.$picture->imagePath.'" title="'.stripslashes($picture->description).'" '.$picture->get_thumbcode("singlepic".$imageID).' >';
|
585 |
if (!$cache_url)
|
586 |
-
$out .= '<img class="ngg-singlepic
|
587 |
else
|
588 |
-
$out .= '<img class="ngg-singlepic
|
589 |
-
$out .= '</a>';
|
|
|
|
|
590 |
|
591 |
-
$out = apply_filters('ngg_show_singlepic_content', $out);
|
592 |
return $out;
|
593 |
}
|
594 |
|
@@ -626,7 +627,7 @@ function nggShowGalleryTags($taglist) {
|
|
626 |
$out = nggCreateGallery($picturelist,false);
|
627 |
}
|
628 |
|
629 |
-
$out = apply_filters('ngg_show_gallery_tags_content', $out);
|
630 |
return $out;
|
631 |
}
|
632 |
|
@@ -671,7 +672,7 @@ function nggShowRelatedGallery($taglist, $maxImages = 0) {
|
|
671 |
|
672 |
$out .= '</div>'."\n";
|
673 |
|
674 |
-
$out = apply_filters('ngg_show_related_gallery_content', $out);
|
675 |
return $out;
|
676 |
}
|
677 |
|
@@ -731,7 +732,7 @@ function nggShowAlbumTags($taglist) {
|
|
731 |
$out .= '</div>'."\n";
|
732 |
$out .= '<div class="ngg-clear"></div>'."\n";
|
733 |
|
734 |
-
$out = apply_filters('ngg_show_album_tags_content', $out);
|
735 |
|
736 |
return $out;
|
737 |
}
|
251 |
$out = nggCreateGallery($picturelist,$galleryID);
|
252 |
}
|
253 |
|
254 |
+
$out = apply_filters('ngg_show_gallery_content', $out, intval($galleryID));
|
255 |
return $out;
|
256 |
}
|
257 |
|
392 |
$out .= '</div>'."\n";
|
393 |
$out .= '<div class="ngg-clear"></div>'."\n";
|
394 |
|
395 |
+
$out = apply_filters('ngg_show_album_content', $out, intval($albumID));
|
396 |
return $out;
|
397 |
}
|
398 |
|
469 |
$out = nggCreateImageBrowser($picturelist);
|
470 |
}
|
471 |
|
472 |
+
$out = apply_filters('ngg_show_imagebrowser_content', $out, intval($galleryID));
|
473 |
return $out;
|
474 |
|
475 |
}
|
581 |
$cache_url = $picture->cached_singlepic_file($width, $height, $mode );
|
582 |
|
583 |
// add fullsize picture as link
|
584 |
+
$out = '<div class="ngg-singlepic-wrapper'. $float .'"><a href="'.$picture->imagePath.'" title="'.stripslashes($picture->description).'" '.$picture->get_thumbcode("singlepic".$imageID).' >';
|
585 |
if (!$cache_url)
|
586 |
+
$out .= '<img class="ngg-singlepic" src="'.NGGALLERY_URLPATH.'nggshow.php?pid='.$imageID.'&width='.$width.'&height='.$height.'&mode='.$mode.'" alt="'.stripslashes($picture->alttext).'" title="'.stripslashes($picture->alttext).'" />';
|
587 |
else
|
588 |
+
$out .= '<img class="ngg-singlepic" src="'.$cache_url.'" alt="'.stripslashes($picture->alttext).'" title="'.stripslashes($picture->alttext).'" />';
|
589 |
+
$out .= '</a></div>';
|
590 |
+
|
591 |
+
$out = apply_filters('ngg_show_singlepic_content', $out, intval( $imageID ) );
|
592 |
|
|
|
593 |
return $out;
|
594 |
}
|
595 |
|
627 |
$out = nggCreateGallery($picturelist,false);
|
628 |
}
|
629 |
|
630 |
+
$out = apply_filters('ngg_show_gallery_tags_content', $out, $taglist);
|
631 |
return $out;
|
632 |
}
|
633 |
|
672 |
|
673 |
$out .= '</div>'."\n";
|
674 |
|
675 |
+
$out = apply_filters('ngg_show_related_gallery_content', $out, $taglist);
|
676 |
return $out;
|
677 |
}
|
678 |
|
732 |
$out .= '</div>'."\n";
|
733 |
$out .= '<div class="ngg-clear"></div>'."\n";
|
734 |
|
735 |
+
$out = apply_filters('ngg_show_album_tags_content', $out, $taglist);
|
736 |
|
737 |
return $out;
|
738 |
}
|
ngginstall.php
CHANGED
@@ -180,14 +180,14 @@ function ngg_default_options() {
|
|
180 |
$ngg_options['thumbfix'] = true; // Fix the dimension
|
181 |
$ngg_options['thumbcrop'] = false; // Crop square thumbnail
|
182 |
$ngg_options['thumbquality'] = 100; // Thumb Quality
|
183 |
-
$ngg_options['thumbResampleMode'] =
|
184 |
|
185 |
// Image Settings
|
186 |
$ngg_options['imgResize'] = false; // Activate resize (not used)
|
187 |
$ngg_options['imgWidth'] = 800; // Image Width
|
188 |
$ngg_options['imgHeight'] = 600; // Image height
|
189 |
$ngg_options['imgQuality'] = 85; // Image Quality
|
190 |
-
$ngg_options['imgResampleMode'] =
|
191 |
$ngg_options['imgCacheSinglePic'] = false; // cached the singlepic
|
192 |
|
193 |
// Gallery Settings
|
180 |
$ngg_options['thumbfix'] = true; // Fix the dimension
|
181 |
$ngg_options['thumbcrop'] = false; // Crop square thumbnail
|
182 |
$ngg_options['thumbquality'] = 100; // Thumb Quality
|
183 |
+
$ngg_options['thumbResampleMode'] = 3; // Resample speed value 1 - 5
|
184 |
|
185 |
// Image Settings
|
186 |
$ngg_options['imgResize'] = false; // Activate resize (not used)
|
187 |
$ngg_options['imgWidth'] = 800; // Image Width
|
188 |
$ngg_options['imgHeight'] = 600; // Image height
|
189 |
$ngg_options['imgQuality'] = 85; // Image Quality
|
190 |
+
$ngg_options['imgResampleMode'] = 3; // Resample speed value 1 - 5
|
191 |
$ngg_options['imgCacheSinglePic'] = false; // cached the singlepic
|
192 |
|
193 |
// Gallery Settings
|
nggshow.php
CHANGED
@@ -11,17 +11,15 @@ $ngg_options=get_option('ngg_options');
|
|
11 |
|
12 |
//reference thumbnail class
|
13 |
include_once('lib/thumbnail.inc.php');
|
|
|
14 |
|
15 |
-
$pictureID = (int)
|
16 |
$mode = attribute_escape($_GET['mode']);
|
17 |
|
18 |
-
// get the
|
19 |
-
$
|
20 |
-
$filenname = $wpdb->get_var("SELECT filename FROM $wpdb->nggpictures WHERE pid = '$pictureID' ");
|
21 |
-
$gallerypath = $wpdb->get_var("SELECT path FROM $wpdb->nggallery WHERE gid = '$galleryID' ");
|
22 |
-
$filepath = WINABSPATH . "/" . $gallerypath ."/" . $filenname;
|
23 |
|
24 |
-
$thumb = new ngg_Thumbnail($
|
25 |
if ( isset($_GET['height']) and isset($_GET['width']))
|
26 |
$thumb->resize($_GET['width'],$_GET['height']);
|
27 |
if ($mode == 'watermark') {
|
11 |
|
12 |
//reference thumbnail class
|
13 |
include_once('lib/thumbnail.inc.php');
|
14 |
+
include_once('lib/nggallery.lib.php');
|
15 |
|
16 |
+
$pictureID = (int) $_GET['pid'];
|
17 |
$mode = attribute_escape($_GET['mode']);
|
18 |
|
19 |
+
// let's get the image data
|
20 |
+
$picture = new nggImage($pictureID);
|
|
|
|
|
|
|
21 |
|
22 |
+
$thumb = new ngg_Thumbnail($picture->absPath);
|
23 |
if ( isset($_GET['height']) and isset($_GET['width']))
|
24 |
$thumb->resize($_GET['width'],$_GET['height']);
|
25 |
if ($mode == 'watermark') {
|
nggwidget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: NextGEN Gallery Widget
|
4 |
Description: Adds a sidebar widget support to your NextGEN Gallery
|
5 |
Author: NextGEN DEV-Team
|
6 |
-
Version: 1.
|
7 |
Author URI: http://alexrabe.boelinger.com/
|
8 |
Plugin URI: http://alexrabe.boelinger.com/?page_id=80
|
9 |
|
@@ -43,22 +43,24 @@ function nggSlideshowWidget($galleryID,$irWidth,$irHeight) {
|
|
43 |
$out .= "\n\t".'<script type="text/javascript" defer="defer">';
|
44 |
$out .= "\n\t".'<!--';
|
45 |
$out .= "\n\t".'//<![CDATA[';
|
46 |
-
$out .= "\n\t\t".'var
|
47 |
-
$out .= "\n\t\t".'
|
48 |
-
$out .= "\n\t\t".'
|
49 |
-
|
50 |
-
|
51 |
-
//
|
52 |
-
if (
|
53 |
-
$out .= "\n\t\t".'
|
54 |
-
$out .= "\n\t\t".'
|
55 |
-
$out .= "\n\t\t".'
|
56 |
-
$out .= "\n\t\t".'
|
57 |
-
$out .= "\n\t\t".'
|
58 |
-
$out .= "\n\t\t".'
|
59 |
-
$out .= "\n\t\t".'
|
60 |
-
$out .= "\n\t\t".'
|
61 |
-
$out .= "\n\t\t".'
|
|
|
|
|
62 |
$out .= "\n\t".'//]]>';
|
63 |
$out .= "\n\t".'-->';
|
64 |
$out .= "\n\t".'</script>';
|
3 |
Plugin Name: NextGEN Gallery Widget
|
4 |
Description: Adds a sidebar widget support to your NextGEN Gallery
|
5 |
Author: NextGEN DEV-Team
|
6 |
+
Version: 1.21
|
7 |
Author URI: http://alexrabe.boelinger.com/
|
8 |
Plugin URI: http://alexrabe.boelinger.com/?page_id=80
|
9 |
|
43 |
$out .= "\n\t".'<script type="text/javascript" defer="defer">';
|
44 |
$out .= "\n\t".'<!--';
|
45 |
$out .= "\n\t".'//<![CDATA[';
|
46 |
+
$out .= "\n\t\t".'var sbsl = new SWFObject("'.NGGALLERY_URLPATH.'imagerotator.swf", "ngg_slideshow'.$galleryID.'", "'.$irWidth.'", "'.$irHeight.'", "7", "#'.$ngg_options['irBackcolor'].'");';
|
47 |
+
$out .= "\n\t\t".'sbsl.addParam("wmode", "opaque");';
|
48 |
+
$out .= "\n\t\t".'sbsl.addVariable("file", "'.NGGALLERY_URLPATH.'nggextractXML.php?gid='.$galleryID.'");';
|
49 |
+
$out .= "\n\t\t".'sbsl.addVariable("linkfromdisplay", "false");';
|
50 |
+
$out .= "\n\t\t".'sbsl.addVariable("shownavigation", "false");';
|
51 |
+
// default value changed in 3.15 : linkfromdisplay, shownavigation, showicons
|
52 |
+
if (!$ngg_options['irShuffle']) $out .= "\n\t\t".'sbsl.addVariable("shuffle", "false");';
|
53 |
+
if (!$ngg_options['irShowicons']) $out .= "\n\t\t".'sbsl.addVariable("showicons", "false");';
|
54 |
+
if ($ngg_options['irShowicons']) $out .= "\n\t\t".'sbsl.addVariable("showicons", "true");';
|
55 |
+
$out .= "\n\t\t".'sbsl.addVariable("overstretch", "'.$ngg_options['irOverstretch'].'");';
|
56 |
+
$out .= "\n\t\t".'sbsl.addVariable("backcolor", "0x'.$ngg_options['irBackcolor'].'");';
|
57 |
+
$out .= "\n\t\t".'sbsl.addVariable("frontcolor", "0x'.$ngg_options['irFrontcolor'].'");';
|
58 |
+
$out .= "\n\t\t".'sbsl.addVariable("lightcolor", "0x'.$ngg_options['irLightcolor'].'");';
|
59 |
+
$out .= "\n\t\t".'sbsl.addVariable("rotatetime", "'.$ngg_options['irRotatetime'].'");';
|
60 |
+
$out .= "\n\t\t".'sbsl.addVariable("transition", "'.$ngg_options['irTransition'].'");';
|
61 |
+
$out .= "\n\t\t".'sbsl.addVariable("width", "'.$irWidth.'");';
|
62 |
+
$out .= "\n\t\t".'sbsl.addVariable("height", "'.$irHeight.'");';
|
63 |
+
$out .= "\n\t\t".'sbsl.write("ngg_widget_slideshow'.$galleryID.'");';
|
64 |
$out .= "\n\t".'//]]>';
|
65 |
$out .= "\n\t".'-->';
|
66 |
$out .= "\n\t".'</script>';
|