NextGEN Gallery – WordPress Gallery Plugin - Version 0.99.1

Version Description

Download this release

Release Info

Developer alexrabe
Plugin Icon 128x128 NextGEN Gallery – WordPress Gallery Plugin
Version 0.99.1
Comparing to
See all releases

Code changes from version 0.99 to 0.99.1

Files changed (6) hide show
  1. changelog.txt +5 -0
  2. imagerotator.swf +0 -0
  3. nggallery.php +2 -2
  4. nggfunctions.php +5 -5
  5. nggwidget.php +2 -1
  6. readme.txt +1 -3
changelog.txt CHANGED
@@ -1,6 +1,11 @@
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
 
 
 
 
 
4
  V0.99 - 27.09.2008
5
  - Changed : Included swfobject version 2.1
6
  - Bugfix : Recognize the zip better
1
  NextGEN Gallery
2
  by Alex Rabe & NextGEN DEV Team
3
 
4
+ V0.99.1 - 01.10.2008
5
+ - Bugfix : Added div wrapper around slideshow
6
+ - Bugfix : Changed default values for flashvars
7
+ - Bugfix : Updated to imagerotator 3.17
8
+
9
  V0.99 - 27.09.2008
10
  - Changed : Included swfobject version 2.1
11
  - Bugfix : Recognize the zip better
imagerotator.swf CHANGED
Binary file
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
6
  Author: NextGEN DEV-Team
7
- Version: 0.99
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
@@ -70,7 +70,7 @@ if ( ($memory_limit != 0) && ($memory_limit < 12 ) ) {
70
  }
71
 
72
  // Version and path to check version
73
- define('NGGVERSION', "0.99");
74
  // Minimum required database version
75
  define('NGG_DBVERSION', "0.84");
76
  define('NGGURL', "http://nextgen.boelinger.com/version.php");
4
  Plugin URI: http://alexrabe.boelinger.com/?page_id=80
5
  Description: A NextGENeration Photo gallery
6
  Author: NextGEN DEV-Team
7
+ Version: 0.99.1
8
 
9
  Author URI: http://alexrabe.boelinger.com/
10
 
70
  }
71
 
72
  // Version and path to check version
73
+ define('NGGVERSION', "0.99.1");
74
  // Minimum required database version
75
  define('NGG_DBVERSION', "0.84");
76
  define('NGGURL', "http://nextgen.boelinger.com/version.php");
nggfunctions.php CHANGED
@@ -172,9 +172,9 @@ function nggShowSlideshow($galleryID,$irWidth,$irHeight) {
172
 
173
  // adding the flash parameter
174
  $swfobject->add_flashvars( 'file', NGGALLERY_URLPATH . 'nggextractXML.php?gid='.$galleryID );
175
- $swfobject->add_flashvars( 'shuffle', $ngg_options['irShuffle'], 'false', 'bool');
176
  $swfobject->add_flashvars( 'linkfromdisplay', $ngg_options['irLinkfromdisplay'], 'false', 'bool');
177
- $swfobject->add_flashvars( 'shownavigation', $ngg_options['irShownavigation'], 'false', 'bool');
178
  $swfobject->add_flashvars( 'showicons', $ngg_options['irShowicons'], 'true', 'bool');
179
  $swfobject->add_flashvars( 'kenburns', $ngg_options['irKenburns'], 'false', 'bool');
180
  $swfobject->add_flashvars( 'overstretch', $ngg_options['irOverstretch'], 'false', 'string');
@@ -190,7 +190,7 @@ function nggShowSlideshow($galleryID,$irWidth,$irHeight) {
190
  $swfobject->add_flashvars( 'width', $irWidth, '260');
191
  $swfobject->add_flashvars( 'height', $irHeight, '320');
192
  // create the output
193
- $out = $swfobject->output();
194
  // add now the script code
195
  $out .= "\n".'<script type="text/javascript" defer="defer">';
196
  if ($ngg_options['irXHTMLvalid']) $out .= "\n".'<!--';
@@ -235,8 +235,8 @@ function nggShowGallery($galleryID) {
235
  // 2nd look for slideshow
236
  if ( $show == 'slide' ) {
237
  $args['show'] = "gallery";
238
- $out = '<div class="ngg-galleryoverview">';
239
- $out .= '<div class="slideshowlink"><a class="slideshowlink" href="' . $nggRewrite->get_permalink($args) . '">'.$ngg_options['galTextGallery'].'</a></div>';
240
  $out .= nggShowSlideshow($galleryID,$ngg_options['irWidth'],$ngg_options['irHeight']);
241
  $out .= '</div>'."\n";
242
  $out .= '<div class="ngg-clear"></div>'."\n";
172
 
173
  // adding the flash parameter
174
  $swfobject->add_flashvars( 'file', NGGALLERY_URLPATH . 'nggextractXML.php?gid='.$galleryID );
175
+ $swfobject->add_flashvars( 'shuffle', $ngg_options['irShuffle'], 'true', 'bool');
176
  $swfobject->add_flashvars( 'linkfromdisplay', $ngg_options['irLinkfromdisplay'], 'false', 'bool');
177
+ $swfobject->add_flashvars( 'shownavigation', $ngg_options['irShownavigation'], 'true', 'bool');
178
  $swfobject->add_flashvars( 'showicons', $ngg_options['irShowicons'], 'true', 'bool');
179
  $swfobject->add_flashvars( 'kenburns', $ngg_options['irKenburns'], 'false', 'bool');
180
  $swfobject->add_flashvars( 'overstretch', $ngg_options['irOverstretch'], 'false', 'string');
190
  $swfobject->add_flashvars( 'width', $irWidth, '260');
191
  $swfobject->add_flashvars( 'height', $irHeight, '320');
192
  // create the output
193
+ $out = '<div class="slideshow">' . $swfobject->output() . '</div>';
194
  // add now the script code
195
  $out .= "\n".'<script type="text/javascript" defer="defer">';
196
  if ($ngg_options['irXHTMLvalid']) $out .= "\n".'<!--';
235
  // 2nd look for slideshow
236
  if ( $show == 'slide' ) {
237
  $args['show'] = "gallery";
238
+ $out = '<div class="ngg-galleryoverview">'."\n";
239
+ $out .= '<div class="slideshowlink"><a class="slideshowlink" href="' . $nggRewrite->get_permalink($args) . '">'.$ngg_options['galTextGallery'].'</a></div>'."\n";
240
  $out .= nggShowSlideshow($galleryID,$ngg_options['irWidth'],$ngg_options['irHeight']);
241
  $out .= '</div>'."\n";
242
  $out .= '<div class="ngg-clear"></div>'."\n";
nggwidget.php CHANGED
@@ -49,7 +49,8 @@ function nggSlideshowWidget($galleryID,$irWidth,$irHeight) {
49
 
50
  // adding the flash parameter
51
  $swfobject->add_flashvars( 'file', NGGALLERY_URLPATH . 'nggextractXML.php?gid='.$galleryID );
52
- $swfobject->add_flashvars( 'shuffle', $ngg_options['irShuffle'], 'false', 'bool');
 
53
  $swfobject->add_flashvars( 'showicons', $ngg_options['irShowicons'], 'true', 'bool');
54
  $swfobject->add_flashvars( 'overstretch', $ngg_options['irOverstretch'], 'false', 'string');
55
  $swfobject->add_flashvars( 'rotatetime', $ngg_options['irRotatetime'], 5, 'int');
49
 
50
  // adding the flash parameter
51
  $swfobject->add_flashvars( 'file', NGGALLERY_URLPATH . 'nggextractXML.php?gid='.$galleryID );
52
+ $swfobject->add_flashvars( 'shownavigation', 'false', 'true', 'bool');
53
+ $swfobject->add_flashvars( 'shuffle', $ngg_options['irShuffle'], 'true', 'bool');
54
  $swfobject->add_flashvars( 'showicons', $ngg_options['irShowicons'], 'true', 'bool');
55
  $swfobject->add_flashvars( 'overstretch', $ngg_options['irOverstretch'], 'false', 'string');
56
  $swfobject->add_flashvars( 'rotatetime', $ngg_options['irRotatetime'], 5, 'int');
readme.txt CHANGED
@@ -89,10 +89,10 @@ That's it ... Have fun
89
 
90
  == Frequently Asked Questions ==
91
 
 
92
 
93
  When writing a page/post, you can use the follow tags:
94
 
95
-
96
  For a slideshow : **[slideshow=id,width,height]**
97
 
98
  Example : http://nextgen.boelinger.com/slideshow/
@@ -121,8 +121,6 @@ To show tag albums : **[albumtags=name,name,name]**
121
 
122
  Example : http://nextgen.boelinger.com/2007/08/11/albumtags/
123
 
124
- **Read as startup :** http://hqcode.com/?page_id=54
125
-
126
  **A further FAQ you can found here :** http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/faq/
127
 
128
  **And at least request your question here :** http://alexrabe.boelinger.com/forums/
89
 
90
  == Frequently Asked Questions ==
91
 
92
+ **Read as startup :** http://dpotter.net/Technical/index.php/2008/03/04/nextgen-gallery-review-introduction/
93
 
94
  When writing a page/post, you can use the follow tags:
95
 
 
96
  For a slideshow : **[slideshow=id,width,height]**
97
 
98
  Example : http://nextgen.boelinger.com/slideshow/
121
 
122
  Example : http://nextgen.boelinger.com/2007/08/11/albumtags/
123
 
 
 
124
  **A further FAQ you can found here :** http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/faq/
125
 
126
  **And at least request your question here :** http://alexrabe.boelinger.com/forums/