Gallery 2 Image Chooser
Author: Kirk Steffensen
Webpage: g2image.steffensenfamily.com
Changelog
Version 3.0.3 - Released 05/13/08
- Updated TinyMCE API calls to TMCE version 3.0
- Changed Lightbox script to Slimbox. Same functionality, but smaller download.
Version 3.0.2 - Released 10/05/07
- Fixed a bug where WPG2 tags and Drupal G2 Filter tags for individual images failed if G2 ImageBlock version was older than 1.0.9. Now degrades gracefully.
Version 3.0.1 - Released 09/26/07
- Updated prototype.js, scriptalicious.js, and effects.js to most recent versions. This allows the plugin and LightBox to function correctly on Safari and Opera.
- Fixed a bug where the custom alignment classes were not transferred from the WPG2 G2Image options tab to G2Image.
- Fixed a bug where Chinese Traditional translation was not working on some servers.
- Changed to use full URLs instead of server-relative URLs so that blog entries will display images in web-based RSS aggregators.
- Updated the Italian, Polish, and Chinese Traditional translations.
Version 3.0 - Released 09/16/07
- GUI reorganization.
- Visual directory tree instead of breadcrumbs
- Insertion options on a fixed pane to the side
- Ability to select multiple images for insertion with the current insertion options
- Switched from php array method of internationalization to the standard gettext method.
- Improved LightBox HTML tag by adding a variable slideshow group name (In 2.2.2 it defaulted to g2image)
- Added support for the WPG2 tag "size" attribute. (Images only, not albums, because Gallery2 only stores a thumbnail for the album highlight, not resizes)
- Added support for the Drupal G2 Filter tag "exactsize" attribute. (Images only, not albums.)
- Added "All" as a "thumbnails per page" option.
- An added benefit of reorganizing the backend in v3.0 is that G2Image now fully honors Gallery2 user permissions. It picks up the current user's permissions from the Gallery2 session cookie and applies them.
Version 2.2.2 - Released 8/26/07
- Fixed a bug where thumbnail and fullsized image URLs were incorrect if the Gallery2 directory was not /gallery2/
Version 2.2.1 - Released 8/25/07
- Enabled use with Gallery2 v2.1.x by improving the method for finding the root album (allows for use of the better method in G2 2.2, but still allows use with G2 2.1).
Version 2.2 - Released 8/24/07
- Eliminated use of G2 ImageBlock call in the backend. This eases getting information about a Gallery2 item.
- Updated the Album selection so that it loads all albums in a tree and automatically reload the page on album selection.
- Added support for a LightBox HTML tag and fullsized image HTML tags.
- Added FCKEditor integration.
- Cleaned up the GUI a little (made the "sort by" and "images per page" select boxes force a redraw automatically instead of requiring another button press.)
Version 2.1 - Released only for WPG2 2.1 - Changes included in 2.2
- Updated WPG2 support for WP 2.1 with TinyMCE plugins in the WP plugin directory
- Updated all TinyMCE API calls to comply with TinyMCE 2.0.3+. These updated files had been in a separate directory, but version 2.1 drops support for TinyMCE 2.0.2 and below.
Version 2.0 - Released 3/25/06
- Gallery 2.1 support. NOT BACKWARDS COMPATIBLE WITH GALLERY2 2.0.X
- Rolled changes from 1.3.1 and 1.3.2 back up to the 2.0 branch. Primarily support for non-WordPress embedded applications.
- Tied G2Image to a WPG2 quicktag so that it can be used outside of the WordPress rich-text editor
- Added support for WPG2ID tags
- Added hooks for configuration from WPG2 Rich-Text Editor Admin Panel
- Changed WPG2 validation check to allow for renamed wp-gallery2.php
- Added "Default Action" option
- Added the ability to remember the last album visited on a per-browser-session basis
- Added WP Filters to WPG2 g2embed, so that a modified tiny_mce_gzip.php is no longer required
- Added image-only insert option
- Added "About G2Image" button with version info, etc in a popup alert
- Added Drupal Gallery2 Filter Support
- Changed g2image main popup window language support to en.php so that the language tags will already be loaded when the window opens. For WordPress, the language loaded will be the one set by WordPress WPLANG in wp-config.php.
- Added a editor_plugin_src.js file and compacted editor_plugin.js
- Added files to support TinyMCE version 2.0.3+
- Added a Joomla! JCE g2image.xml installation file and zipped a separate JCE file
Version 1.3.5 - Released 03/22/06
- Fixed a bug in the WPG2 tags when not using TinyMCE
- Added a editor_plugin_src.js file and compacted editor_plugin.js
- Added a Drupal G2 Filter prefix variable
- Added files to support TinyMCE version 2.0.3+
- Added a Joomla! JCE g2image.xml installation file and zipped a separate JCE file
Version 1.3.4 - Released 03/12/06
- Fixed bug in WPG2 initialization for servers where $_SERVER['PHP_SELF'] returns the wrong value
- Added the option to define full Gallery2 directory path instead of relative Gallery2 path
- Forced G2Image window to come to the front on selection if already open
- Made G2Image language file automatically load the same language as WordPress WPLANG
Version 1.3.3 - Released 03/04/06
- Fixed bug in WPG2 initialization introduced in 1.3.2
- Improved the alignment of the "About G2Image" button
- Corrected zh_TW.php
Version 1.3.2 - Released 03/01/06
- Rearranged config.php and init.php to make it easier to configure embedded application paths
- Fixed bug in "non-WPG2" initialization
Version 1.3.1 - Released 02/28/06
- Corrected localization support for the WordPress plugin
- Fixed bug in "Thumbnail Only" option. Output incorrectly had </a> at the end.
- Fixed bug in "non-WPG2" initialization
Version 1.3 - Released 02/26/06
- Gallery 2.0.x version with changes brought backward from G2Image v2.0 development
- Tied G2Image to a WPG2 quicktag so that it can be used outside of the WordPress rich-text editor
- Added support for WPG2ID tags
- Added hooks for configuration from WPG2 Rich-Text Editor Admin Panel
- Changed WPG2 validation check to allow for renamed wp-gallery2.php
- Added "Default Action" option
- Added the ability to remember the last album visited on a per-browser-session basis
- Added WP Filters to WPG2 g2embed, so that a modified tiny_mce_gzip.php is no longer required
- Added image-only insert option
- Added "About G2Image" button with version info, etc in a popup alert
- Added Drupal Gallery2 Filter Support
- Changed g2image main popup window language support to en.php so that the language tags will already be loaded when the window opens
Version 1.2 - Released 01/27/06
- Added the ability to determine the results of clicking on an image - either insert using the default settings or show advanced options. Whether or not this is user configurable can be set in config.php.
- Fixed a bug that caused g2image to die if there were files in the Gallery2 data directory structure that were not in the Gallery2 album structure.
- Added Gallery2 image titles to the display and added the ability to sort images based on Gallery2 titles.
- Fixed a bug that prevented use in standalone mode (i.e., not using WPG2).
- Changed the album navigation from directory names to Gallery2 album names.
- Added the ability to display in either a thumbnail-only view or thumbnails with filenames.
- Added the ability to change the number of thumbnails displayed.
- Added more error statements to aid in troubleshooting.
- Cleaned up the CSS so that the plugin displays consistently in both FireFox and IE.
- Added the ability to choose an alignment class for the thumbnails (none, g2image_normal, g2image_float_left, g2image_float_right, g2image_centered). Can also add up to four custom classes. Implemented as <img class=...> or <div class=...> wrappers, as set in config.php.
- Implemented the TinyMCE Language Pack to ease translation.
- Added a tiny_mce_gzip.php file for WordPress 2.0. Adds g2image plugin and
tags. - Reorganized the initialization sequence to make it easier for developers of embedded apps (e.g., PHPNuke, Drupal, etc.) to add their own init functions without having to modify any of the other code.
- Added .bmp and .svg to the default valid-image extensions.
Version 1.1 - Released 01/08/06
- Fixed a bug where some servers do not properly respond to $_SERVER[SCRIPT_NAME]
- Simplified config.php by automating most path discovery
- Added the ability to preserve
tags and to edit them - Added the ability to insert
tags instead of raw HTML - Added the ability to link to a custom URL
- Changed the directory navigation to make it more compact for a directory with multiple subdirectories.
- Fixed a bug where the "Insert Thumbnail with Link to Parent Album" button did not work if URL rewrite was not active on Gallery2
- Added the ability to insert
Version 1.02 - Released 01/04/06
- Correctly fixed the bug in parsing the gallery URL when inserting a thumbnail or text with a link to the parent gallery.
Version 1.01 - Released 01/03/06
- [Attempted to] Fixed a bug in parsing the gallery URL when inserting a thumbnail or text with a link to the parent gallery.
- Updated the README.TXT file with info on finding the Gallery2 root-album directory and how to update the CSS file for images in the editor pane.
- Added this CHANGELOG.TXT file.
- Deleted two functions.js files left over from beta testing.
- Removed an extraneous comment block from editor_plugin.js.
Version 1.0 - Released 01/02/06
- Baseline