WordPress.org

Plugin Directory

Changeset 782816


Ignore:
Timestamp:
10/05/13 00:44:24 (7 months ago)
Author:
greenshady
Message:

Updating plugin to version 1.0.0.

Location:
cleaner-gallery
Files:
32 added
12 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cleaner-gallery/trunk/cleaner-gallery.php

    r647272 r782816  
    33 * Plugin Name: Cleaner Gallery 
    44 * Plugin URI: http://themehybrid.com/plugins/cleaner-gallery 
    5  * Description: This plugin replaces the default gallery feature with a valid HTML solution and offers support for multiple Lightbox-type image scripts. 
    6  * Version: 0.9.3 
     5 * Description: Replaces the default <code>[gallery]</code> shortcode with valid <abbr title="Hypertext Markup Language">HTML</abbr>5 markup and moves its inline styles to a proper stylesheet. Integrates with many Lightbox-type image scripts. 
     6 * Version: 1.0.0 
    77 * Author: Justin Tadlock 
    88 * Author URI: http://justintadlock.com 
     
    1515 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
    1616 * 
    17  * @package CleanerGallery 
    18  * @version 0.9.3 
    19  * @author Justin Tadlock <justin@justintadlock.com> 
    20  * @copyright Copyright (c) 2008 - 2012, Justin Tadlock 
    21  * @link http://themehybrid.com/plugins/cleaner-gallery 
    22  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     17 * You should have received a copy of the GNU General Public License along with this program; if not, write  
     18 * to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 
     19 * 
     20 * @package   CleanerGallery 
     21 * @version   1.0.0 
     22 * @since     0.1.0 
     23 * @author    Justin Tadlock <justin@justintadlock.com> 
     24 * @copyright Copyright (c) 2008 - 2013, Justin Tadlock 
     25 * @link      http://themehybrid.com/plugins/cleaner-gallery 
     26 * @license   http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    2327 */ 
    2428 
    25 /* Set up the plugin. */ 
    26 add_action( 'plugins_loaded', 'cleaner_gallery_setup' ); 
     29/** 
     30 * Sets up the Cleaner Gallery plugin. 
     31 * 
     32 * @since  1.0.0 
     33 */ 
     34final class Cleaner_Gallery_Plugin { 
    2735 
    28 /** 
    29  * Sets up the Cleaner Gallery plugin and loads files at the appropriate time. 
    30  * 
    31  * @since 0.8.0 
    32  */ 
    33 function cleaner_gallery_setup() { 
    34     global $cleaner_gallery; 
     36    /** 
     37     * Holds the instance of this class. 
     38     * 
     39     * @since  1.0.0 
     40     * @access private 
     41     * @var    object 
     42     */ 
     43    private static $instance; 
    3544 
    36     /* Set up an empty class for the global $cleaner_gallery object. */ 
    37     $cleaner_gallery = new stdClass; 
     45    /** 
     46     * Stores the directory path for this plugin. 
     47     * 
     48     * @since  1.0.0 
     49     * @access private 
     50     * @var    string 
     51     */ 
     52    private $directory_path; 
    3853 
    39     /* Set constant path to the Cleaner Gallery plugin directory. */ 
    40     define( 'CLEANER_GALLERY_DIR', plugin_dir_path( __FILE__ ) ); 
     54    /** 
     55     * Stores the directory URI for this plugin. 
     56     * 
     57     * @since  1.0.0 
     58     * @access private 
     59     * @var    string 
     60     */ 
     61    private $directory_uri; 
    4162 
    42     /* Set constant path to the Cleaner Gallery plugin URL. */ 
    43     define( 'CLEANER_GALLERY_URL', plugin_dir_url( __FILE__ ) ); 
     63    /** 
     64     * Plugin setup. 
     65     * 
     66     * @since  1.0.0 
     67     * @access public 
     68     * @return void 
     69     */ 
     70    public function __construct() { 
    4471 
    45     if ( is_admin() ) { 
     72        /* Set the properties needed by the plugin. */ 
     73        add_action( 'plugins_loaded', array( $this, 'setup' ), 1 ); 
    4674 
    47         /* Load translations. */ 
    48         load_plugin_textdomain( 'cleaner-gallery', false, 'cleaner-gallery/languages' ); 
     75        /* Internationalize the text strings used. */ 
     76        add_action( 'plugins_loaded', array( $this, 'i18n' ), 2 ); 
    4977 
    50         /* Load the plugin's admin file. */ 
    51         require_once( CLEANER_GALLERY_DIR . 'admin.php' ); 
     78        /* Load the functions files. */ 
     79        add_action( 'plugins_loaded', array( $this, 'includes' ), 3 ); 
     80 
     81        /* Load the admin files. */ 
     82        add_action( 'plugins_loaded', array( $this, 'admin' ), 4 ); 
     83 
     84        /* Enqueue scripts and styles. */ 
     85        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 15 ); 
    5286    } 
    5387 
    54     else { 
    55         /* Load the gallery shortcode functionality. */ 
    56         require_once( CLEANER_GALLERY_DIR . 'gallery.php' ); 
     88    /** 
     89     * Defines the directory path and URI for the plugin. 
     90     * 
     91     * @since  1.0.0 
     92     * @access public 
     93     * @return void 
     94     */ 
     95    public function setup() { 
     96        $this->directory_path = trailingslashit( plugin_dir_path( __FILE__ ) ); 
     97        $this->directory_uri  = trailingslashit( plugin_dir_url(  __FILE__ ) ); 
    5798 
    58         /* Filter the gallery images with user options. */ 
    59         add_filter( 'cleaner_gallery_image', 'cleaner_gallery_plugin_gallery_image', 10, 4 ); 
     99        /* Legacy */ 
     100        define( 'CLEANER_GALLERY_DIR', $this->directory_path ); 
     101        define( 'CLEANER_GALLERY_URI', $this->directory_uri  ); 
     102    } 
    60103 
    61         /* Filter the gallery captions with user options. */ 
    62         add_filter( 'cleaner_gallery_caption', 'cleaner_gallery_plugin_image_caption', 10, 3 ); 
     104    /** 
     105     * Loads the initial files needed by the plugin. 
     106     * 
     107     * @since  1.0.0 
     108     * @access public 
     109     * @return void 
     110     */ 
     111    public function includes() { 
    63112 
    64         /* Load any scripts needed. */ 
    65         add_action( 'template_redirect', 'cleaner_gallery_enqueue_script' ); 
     113        require_once( "{$this->directory_path}inc/gallery.php"         ); 
     114        require_once( "{$this->directory_path}inc/default-filters.php" ); 
     115    } 
    66116 
    67         /* Load any stylesheets needed. */ 
    68         add_action( 'template_redirect', 'cleaner_gallery_enqueue_style' ); 
     117    /** 
     118     * Loads the translation files. 
     119     * 
     120     * @since  1.0.0 
     121     * @access public 
     122     * @return void 
     123     */ 
     124    public function i18n() { 
    69125 
    70         /* Filter the cleaner gallery default shortcode attributes. */ 
    71         add_filter( 'cleaner_gallery_defaults', 'cleaner_gallery_default_args' ); 
     126        /* Load the translation of the plugin. */ 
     127        load_plugin_textdomain( 'cleaner-gallery', false, 'cleaner-gallery/languages' ); 
     128    } 
     129 
     130    /** 
     131     * Loads the admin functions and files. 
     132     * 
     133     * @since  1.0.0 
     134     * @access public 
     135     * @return void 
     136     */ 
     137    public function admin() { 
     138 
     139        if ( is_admin() ) 
     140            require_once( "{$this->directory_path}admin/admin.php" ); 
     141    } 
     142 
     143    /** 
     144     * Enqueues scripts and styles on the front end. 
     145     * 
     146     * @since  1.0.0 
     147     * @access public 
     148     * @return void 
     149     */ 
     150    public function enqueue_scripts() { 
     151 
     152        if ( cleaner_gallery_get_setting( 'thickbox_js' ) ) 
     153            wp_enqueue_script( 'thickbox' ); 
     154 
     155        if ( cleaner_gallery_get_setting( 'thickbox_css' ) ) 
     156            wp_enqueue_style( 'thickbox' ); 
     157 
     158        if ( !current_theme_supports( 'cleaner-gallery' ) ) 
     159            wp_enqueue_style( 'cleaner-gallery', "{$this->directory_uri}css/gallery.min.css", null, '20130526' ); 
     160    } 
     161 
     162    /** 
     163     * Returns the instance. 
     164     * 
     165     * @since  1.0.0 
     166     * @access public 
     167     * @return object 
     168     */ 
     169    public static function get_instance() { 
     170 
     171        if ( !self::$instance ) 
     172            self::$instance = new self; 
     173 
     174        return self::$instance; 
    72175    } 
    73176} 
    74177 
    75 /** 
    76  * Function for quickly grabbing settings for the plugin without having to call get_option()  
    77  * every time we need a setting. 
    78  * 
    79  * @since 0.8.0 
    80  */ 
    81 function cleaner_gallery_get_setting( $option = '' ) { 
    82     global $cleaner_gallery; 
    83  
    84     if ( !$option ) 
    85         return false; 
    86  
    87     if ( !isset( $cleaner_gallery->settings ) ) 
    88         $cleaner_gallery->settings = get_option( 'cleaner_gallery_settings' ); 
    89  
    90     if ( !is_array( $cleaner_gallery->settings ) || empty( $cleaner_gallery->settings[$option] ) ) 
    91         return false; 
    92  
    93     return $cleaner_gallery->settings[$option]; 
    94 } 
    95  
    96 /** 
    97  * Modifies the gallery captions according to user-selected settings. 
    98  * 
    99  * @since 0.9.0 
    100  */ 
    101 function cleaner_gallery_plugin_image_caption( $caption, $id, $attr ) { 
    102  
    103     /* If the caption should be removed, return empty string. */ 
    104     if ( cleaner_gallery_get_setting( 'caption_remove' ) ) 
    105         return ''; 
    106  
    107     /* If the caption is empty and the user is using the title as a caption, get the image title. */ 
    108     if ( empty( $caption ) && cleaner_gallery_get_setting( 'caption_title' ) ) { 
    109         $post = get_post( $id ); 
    110         $caption = wptexturize( esc_html( $post->post_title ) ); 
    111     } 
    112  
    113     /* If there's a caption and it should be linked, link to the attachment page. */ 
    114     if ( !empty( $caption ) && cleaner_gallery_get_setting( 'caption_link' ) ) 
    115         $caption = wp_get_attachment_link( $id, false, true, false, $caption ); 
    116  
    117     /* Return the caption. */ 
    118     return $caption; 
    119 } 
    120  
    121 /** 
    122  * Modifies gallery images based on user-selected settings. 
    123  * 
    124  * @since 0.9.0 
    125  */ 
    126 function cleaner_gallery_plugin_gallery_image( $image, $id, $attr, $instance ) { 
    127  
    128     /* If the image should link to nothing, remove the image link. */ 
    129     if ( 'none' == $attr['link'] ) { 
    130         $image = preg_replace( '/<a.*?>(.*?)<\/a>/', '$1', $image ); 
    131     } 
    132  
    133     /* If the image should link to the 'file' (full-size image), add in extra link attributes. */ 
    134     elseif ( 'file' == $attr['link'] ) { 
    135         $attributes = cleaner_gallery_link_attributes( $instance ); 
    136  
    137         if ( !empty( $attributes ) ) 
    138             $image = str_replace( '<a href=', "<a{$attributes} href=", $image ); 
    139     } 
    140  
    141     /* If the image should link to an intermediate-sized image, change the link attributes. */ 
    142     elseif ( in_array( $attr['link'], get_intermediate_image_sizes() ) ) { 
    143  
    144         $post = get_post( $id ); 
    145         $image_src = wp_get_attachment_image_src( $id, $attr['link'] ); 
    146  
    147         $attributes = cleaner_gallery_link_attributes( $instance ); 
    148         $attributes .= " href='{$image_src[0]}'"; 
    149         $attributes .= " title='" . esc_attr( $post->post_title ) . "'"; 
    150  
    151         $image = preg_replace( '/<a.*?>(.*?)<\/a>/', "<a{$attributes}>$1</a>", $image ); 
    152     } 
    153  
    154     /* Return the formatted image. */ 
    155     return $image; 
    156 } 
    157  
    158 /** 
    159  * Filters the default gallery arguments with user-selected arguments or the plugin defaults. 
    160  * 
    161  * @since 0.9.0 
    162  * @param array $defaults 
    163  * @return array $defaults 
    164  */ 
    165 function cleaner_gallery_default_args( $defaults ) { 
    166  
    167     $defaults['order'] = ( ( cleaner_gallery_get_setting( 'order' ) ) ? cleaner_gallery_get_setting( 'order' ) : 'ASC' ); 
    168  
    169     $defaults['orderby'] = ( ( cleaner_gallery_get_setting( 'orderby' ) ) ? cleaner_gallery_get_setting( 'orderby' ) : 'menu_order ID' ); 
    170  
    171     $defaults['size'] = ( ( cleaner_gallery_get_setting( 'size' ) ) ? cleaner_gallery_get_setting( 'size' ) : 'thumbnail' ); 
    172  
    173     $defaults['link'] = ( ( cleaner_gallery_get_setting( 'image_link' ) ) ? cleaner_gallery_get_setting( 'image_link' ) : '' ); 
    174  
    175     return $defaults; 
    176 } 
    177  
    178 /** 
    179  * Returns the link class and rel attributes based on what the user selected in the plugin 
    180  * settings.  This is important for handling Lightbox-type image scripts. 
    181  * 
    182  * @since 0.7.0 
    183  * @param int $id Post ID. 
    184  * @return string $attributes 
    185  */ 
    186 function cleaner_gallery_link_attributes( $id = 0 ) { 
    187  
    188     $class = ''; 
    189     $rel = ''; 
    190     $script = cleaner_gallery_get_setting( 'image_script' ); 
    191  
    192     switch ( $script ) { 
    193  
    194         case 'lightbox' : 
    195         case 'slimbox' : 
    196         case 'jquery_lightbox_plugin' : 
    197         case 'jquery_lightbox_balupton' : 
    198             $class = 'lightbox'; 
    199             $rel = "lightbox[cleaner-gallery-{$id}]"; 
    200             break; 
    201  
    202         case 'colorbox' : 
    203             $class = "colorbox colorbox-{$id}"; 
    204             $rel = "colorbox-{$id}"; 
    205             break; 
    206  
    207         case 'jquery_lightbox' : 
    208             $class = 'lightbox'; 
    209             $rel = "cleaner-gallery-{$id}"; 
    210             break; 
    211  
    212         case 'lightwindow' : 
    213             $class = 'lightwindow'; 
    214             $rel = "lightwindow[cleaner-gallery-{$id}]"; 
    215             break; 
    216  
    217         case 'floatbox' : 
    218             $class = 'floatbox'; 
    219             $rel = "floatbox.cleaner-gallery-{$id}"; 
    220             break; 
    221  
    222         case 'shutter_reloaded' : 
    223             $class = "shutterset_cleaner-gallery-{$id}"; 
    224             $rel = "lightbox[cleaner-gallery-{$id}]"; 
    225             break; 
    226  
    227         case 'fancybox' : 
    228             $class = 'fancybox'; 
    229             $rel = "fancybox-{$id}"; 
    230             break; 
    231  
    232         case 'greybox' : 
    233             $class = 'greybox'; 
    234             $rel = "gb_imageset[cleaner-gallery-{$id}]"; 
    235             break; 
    236  
    237         case 'lightview' : 
    238             $class = 'lightview'; 
    239             $rel = "gallery[cleaner-gallery-{$id}]"; 
    240             break; 
    241  
    242         case 'lytebox' : 
    243             $class = 'lytebox'; 
    244             $rel = "lytebox[cleaner-gallery-{$id}]"; 
    245             break; 
    246  
    247         case 'thickbox' : 
    248             $class = 'thickbox'; 
    249             $rel = "clean-gallery-{$id}"; 
    250             break; 
    251  
    252         case 'shadowbox' : 
    253             $class = 'shadowbox'; 
    254             $rel = "shadowbox[cleaner-gallery-{$id}]"; 
    255             break; 
    256  
    257         case 'pretty_photo' : 
    258             $class = 'prettyPhoto'; 
    259             $rel = "prettyPhoto[{$id}]"; 
    260             break; 
    261  
    262         case 'fancyzoom' : 
    263         default : 
    264             $class = ''; 
    265             $rel = ''; 
    266             break; 
    267     } 
    268  
    269     $class = apply_filters( 'cleaner_gallery_image_link_class', $class ); 
    270     $rel = apply_filters( 'cleaner_gallery_image_link_rel', $rel ); 
    271  
    272     if ( !empty( $class ) ) 
    273         $class = " class='{$class}'"; 
    274  
    275     if ( !empty( $rel ) ) 
    276         $rel = " rel='{$rel}'"; 
    277  
    278     return $class . $rel; 
    279 } 
    280  
    281 /** 
    282  * Load the cleaner gallery stylesheet and the Thickbox stylesheet if needed. 
    283  * 
    284  * @since 0.8.0 
    285  */ 
    286 function cleaner_gallery_enqueue_style() { 
    287     if ( cleaner_gallery_get_setting( 'thickbox_css' ) ) 
    288         wp_enqueue_style( 'thickbox' ); 
    289  
    290     if ( cleaner_gallery_get_setting( 'cleaner_gallery_css' ) ) 
    291         wp_enqueue_style( 'cleaner-gallery', CLEANER_GALLERY_URL . 'gallery.css', false, 0.9, 'all' ); 
    292 } 
    293  
    294 /** 
    295  * Load the Thickbox JavaScript if needed. 
    296  * 
    297  * @since 0.8.0 
    298  */ 
    299 function cleaner_gallery_enqueue_script() { 
    300     if ( cleaner_gallery_get_setting( 'thickbox_js' ) ) 
    301         wp_enqueue_script( 'thickbox' ); 
    302 } 
    303  
    304 /** 
    305  * @since 0.7.0 
    306  * @deprecated 0.9.0 
    307  */ 
    308 function cleaner_gallery_id( $id = 0 ) { 
    309     return $id; 
    310 } 
     178Cleaner_Gallery_Plugin::get_instance(); 
    311179 
    312180?> 
  • cleaner-gallery/trunk/languages/cleaner-gallery.pot

    r316628 r782816  
    11msgid "" 
    22msgstr "" 
    3 "Project-Id-Version: Cleaner Gallery WordPress Plugin\n" 
     3"Project-Id-Version: Cleaner Gallery Plugin\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2010-11-30 10:35-0600\n" 
     5"POT-Creation-Date: 2013-10-04 17:46-0600\n" 
    66"PO-Revision-Date: \n" 
    7 "Last-Translator: Justin Tadlock <justin@justintadlock.com>\n" 
     7"Last-Translator: \n" 
    88"Language-Team:  <justin@justintadlock.com>\n" 
     9"Language: en_US\n" 
    910"MIME-Version: 1.0\n" 
    1011"Content-Type: text/plain; charset=UTF-8\n" 
    1112"Content-Transfer-Encoding: 8bit\n" 
    12 "X-Poedit-Language: English\n" 
    13 "X-Poedit-Country: UNITED STATES\n" 
    14 "X-Poedit-KeywordsList: _e;__;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n" 
     13"X-Poedit-KeywordsList: _e;__;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;" 
     14"_x:1,2c;_n:1,2;_n\n" 
    1515"X-Poedit-Basepath: ../\n" 
     16"X-Generator: Poedit 1.5.7\n" 
    1617"X-Poedit-SearchPath-0: .\n" 
    1718 
    18 #: admin.php:22 
     19#: admin/admin.php:31 admin/admin.php:32 
    1920msgid "Cleaner Gallery" 
    2021msgstr "" 
    2122 
    22 #: admin.php:62 
     23#: admin/admin.php:98 
     24msgid "Thumbnail" 
     25msgstr "" 
     26 
     27#: admin/admin.php:99 
     28msgid "Medium" 
     29msgstr "" 
     30 
     31#: admin/admin.php:100 
     32msgid "Large" 
     33msgstr "" 
     34 
     35#: admin/admin.php:101 
     36msgid "Full" 
     37msgstr "" 
     38 
     39#: admin/admin.php:111 
     40msgid "No image or page" 
     41msgstr "" 
     42 
     43#: admin/admin.php:112 
    2344msgid "Attachment Page" 
    2445msgstr "" 
    2546 
    26 #: admin.php:65 
     47#: admin/admin.php:119 
    2748msgid "Comment Count" 
    2849msgstr "" 
    2950 
    30 #: admin.php:65 
     51#: admin/admin.php:120 
    3152msgid "Date" 
    3253msgstr "" 
    3354 
    34 #: admin.php:65 
     55#: admin/admin.php:121 
    3556msgid "ID" 
    3657msgstr "" 
    3758 
    38 #: admin.php:65 
     59#: admin/admin.php:122 
    3960msgid "Menu Order" 
    4061msgstr "" 
    4162 
    42 #: admin.php:65 
     63#: admin/admin.php:123 
    4364msgid "None" 
    4465msgstr "" 
    4566 
    46 #: admin.php:65 
     67#: admin/admin.php:124 
    4768msgid "Random" 
    4869msgstr "" 
    4970 
    50 #: admin.php:65 
     71#: admin/admin.php:125 
    5172msgid "Title" 
    5273msgstr "" 
    5374 
    54 #: admin.php:68 
     75#: admin/admin.php:130 
    5576msgid "Ascending" 
    5677msgstr "" 
    5778 
    58 #: admin.php:68 
     79#: admin/admin.php:131 
    5980msgid "Descending" 
    6081msgstr "" 
    6182 
    62 #: admin.php:73 
     83#: admin/admin.php:165 
     84msgid "Cleaner Gallery Settings" 
     85msgstr "" 
     86 
     87#: admin/admin.php:167 
     88msgid "Settings saved." 
     89msgstr "" 
     90 
     91#: admin/admin.php:176 
     92msgid "Default gallery settings" 
     93msgstr "" 
     94 
     95#: admin/admin.php:178 
     96#, php-format 
     97msgid "Display %s size images by default." 
     98msgstr "" 
     99 
     100#: admin/admin.php:180 
     101#, php-format 
     102msgid "Images should link to %s by default." 
     103msgstr "" 
     104 
     105#: admin/admin.php:182 
     106#, php-format 
     107msgid "Galleries should be ordered by %s by default." 
     108msgstr "" 
     109 
     110#: admin/admin.php:184 
     111#, php-format 
     112msgid "Display gallery images in %s order by default." 
     113msgstr "" 
     114 
     115#: admin/admin.php:187 
     116msgid "(These settings may be overriden for individual galleries.)" 
     117msgstr "" 
     118 
     119#: admin/admin.php:193 
     120msgid "Image caption settings" 
     121msgstr "" 
     122 
     123#: admin/admin.php:196 
     124msgid "Completely remove image captions (overrules other caption settings)." 
     125msgstr "" 
     126 
     127#: admin/admin.php:199 
     128msgid "Use the image title as a caption if there is no caption available." 
     129msgstr "" 
     130 
     131#: admin/admin.php:204 
     132msgid "Script and style settings" 
     133msgstr "" 
     134 
     135#: admin/admin.php:207 
     136msgid "Load the Thickbox JavaScript (included with WordPress)." 
     137msgstr "" 
     138 
     139#: admin/admin.php:210 
     140msgid "Load the Thickbox stylesheet (included with WordPress)." 
     141msgstr "" 
     142 
     143#: admin/admin.php:215 
     144msgid "External image script" 
     145msgstr "" 
     146 
     147#: admin/admin.php:225 
     148msgid "" 
     149"The use, installation, and configuration of third-party image scripts are " 
     150"not supported by the Cleaner Gallery plugin developer. Please contact the " 
     151"image script developer for help using your preferred script." 
     152msgstr "" 
     153 
     154#: admin/admin.php:231 
     155msgid "Like this plugin?" 
     156msgstr "" 
     157 
     158#: admin/admin.php:233 
     159msgid "Here's how you can give back:" 
     160msgstr "" 
     161 
     162#: admin/admin.php:235 
     163msgid "Give the plugin a good rating." 
     164msgstr "" 
     165 
     166#: admin/admin.php:236 
     167msgid "Donate to the project." 
     168msgstr "" 
     169 
     170#: admin/admin.php:242 
     171msgid "Update Settings" 
     172msgstr "" 
     173 
     174#: admin/admin.php:260 
     175msgid "Plugin support" 
     176msgstr "" 
     177 
     178#: admin/admin.php:261 
     179msgid "Rate plugin" 
     180msgstr "" 
     181 
     182#: admin/admin.php:262 
     183msgid "Donate" 
     184msgstr "" 
     185 
     186#: inc/default-filters.php:68 
    63187msgid "Colorbox" 
    64188msgstr "" 
    65189 
    66 #: admin.php:74 
     190#: inc/default-filters.php:69 
    67191msgid "FancyBox" 
    68192msgstr "" 
    69193 
    70 #: admin.php:75 
     194#: inc/default-filters.php:70 
    71195msgid "FancyZoom" 
    72196msgstr "" 
    73197 
    74 #: admin.php:76 
     198#: inc/default-filters.php:71 
    75199msgid "Floatbox" 
    76200msgstr "" 
    77201 
    78 #: admin.php:77 
     202#: inc/default-filters.php:72 
    79203msgid "GreyBox" 
    80204msgstr "" 
    81205 
    82 #: admin.php:78 
     206#: inc/default-filters.php:73 
    83207msgid "jQuery Lightbox" 
    84208msgstr "" 
    85209 
    86 #: admin.php:79 
     210#: inc/default-filters.php:74 
    87211msgid "jQuery Lightbox Plugin" 
    88212msgstr "" 
    89213 
    90 #: admin.php:80 
     214#: inc/default-filters.php:75 
    91215msgid "jQuery Lightbox (Balupton)" 
    92216msgstr "" 
    93217 
    94 #: admin.php:81 
     218#: inc/default-filters.php:76 
    95219msgid "Lightbox" 
    96220msgstr "" 
    97221 
    98 #: admin.php:82 
     222#: inc/default-filters.php:77 
    99223msgid "Lightview" 
    100224msgstr "" 
    101225 
    102 #: admin.php:83 
     226#: inc/default-filters.php:78 
    103227msgid "LightWindow" 
    104228msgstr "" 
    105229 
    106 #: admin.php:84 
     230#: inc/default-filters.php:79 
    107231msgid "Lytebox" 
    108232msgstr "" 
    109233 
    110 #: admin.php:85 
     234#: inc/default-filters.php:80 
    111235msgid "prettyPhoto" 
    112236msgstr "" 
    113237 
    114 #: admin.php:86 
     238#: inc/default-filters.php:81 
    115239msgid "Shadowbox" 
    116240msgstr "" 
    117241 
    118 #: admin.php:87 
     242#: inc/default-filters.php:82 
    119243msgid "Shutter Reloaded" 
    120244msgstr "" 
    121245 
    122 #: admin.php:88 
     246#: inc/default-filters.php:83 
    123247msgid "Slimbox" 
    124248msgstr "" 
    125249 
    126 #: admin.php:89 
     250#: inc/default-filters.php:84 
    127251msgid "Thickbox" 
    128252msgstr "" 
    129  
    130 #: admin.php:96 
    131 msgid "Cleaner Gallery Settings" 
    132 msgstr "" 
    133  
    134 #: admin.php:98 
    135 msgid "Settings saved." 
    136 msgstr "" 
    137  
    138 #: admin.php:107 
    139 msgid "Default gallery settings" 
    140 msgstr "" 
    141  
    142 #: admin.php:131 
    143 #, php-format 
    144 msgid "Display %s size images by default." 
    145 msgstr "" 
    146  
    147 #: admin.php:133 
    148 #, php-format 
    149 msgid "Images should link to %s by default." 
    150 msgstr "" 
    151  
    152 #: admin.php:135 
    153 #, php-format 
    154 msgid "Galleries should be ordered by %s by default." 
    155 msgstr "" 
    156  
    157 #: admin.php:137 
    158 #, php-format 
    159 msgid "Display gallery images in %s order by default." 
    160 msgstr "" 
    161  
    162 #: admin.php:139 
    163 msgid "(These settings may be overriden for individual galleries.)" 
    164 msgstr "" 
    165  
    166 #: admin.php:144 
    167 msgid "Image caption settings" 
    168 msgstr "" 
    169  
    170 #: admin.php:147 
    171 msgid "Completely remove image captions (overrules other caption settings)." 
    172 msgstr "" 
    173  
    174 #: admin.php:150 
    175 msgid "Use the image title as a caption if there is no caption available." 
    176 msgstr "" 
    177  
    178 #: admin.php:153 
    179 msgid "Link captions to the image attachment page." 
    180 msgstr "" 
    181  
    182 #: admin.php:158 
    183 msgid "Script and style settings" 
    184 msgstr "" 
    185  
    186 #: admin.php:161 
    187 msgid "Load the Cleaner Gallery stylesheet (used to format galleries)." 
    188 msgstr "" 
    189  
    190 #: admin.php:164 
    191 msgid "Load the Thickbox JavaScript (included with WordPress)." 
    192 msgstr "" 
    193  
    194 #: admin.php:167 
    195 msgid "Load the Thickbox stylesheet (included with WordPress)." 
    196 msgstr "" 
    197  
    198 #: admin.php:172 
    199 msgid "External image script" 
    200 msgstr "" 
    201  
    202 #: admin.php:174 
    203 msgid "Select an image script to use with your galleries." 
    204 msgstr "" 
    205  
    206 #: admin.php:182 
    207 msgid "The use, installation, and configuration of third-party image scripts are not supported by the Cleaner Gallery plugin developer. Please contact the image script developer for help using your preferred script." 
    208 msgstr "" 
    209  
    210 #: admin.php:188 
    211 msgid "Update Settings" 
    212 msgstr "" 
    213  
  • cleaner-gallery/trunk/readme.txt

    r647272 r782816  
    11=== Cleaner Gallery === 
     2 
    23Contributors: greenshady 
    34Donate link: http://themehybrid.com/donate 
    4 Tags: gallery, lightbox, slimbox, images, jquery, fancybox, shadowbox, thickbox, valid-xhtml 
    5 Requires at least: 3.5 
    6 Tested up to: 3.5 
    7 Stable tag: 0.9.3 
     5Tags: gallery, lightbox, slimbox, images, jquery, fancybox, shadowbox, thickbox, html5 
     6Requires at least: 3.6 
     7Tested up to: 3.7 
     8Stable tag: 1.0.0 
     9License: GPLv2 or later 
     10License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    811 
    912A cleaner WordPress [gallery] that integrates with multiple Lightbox-type scripts. 
     
    1114== Description == 
    1215 
    13 *Cleaner Gallery* was written to take care of the invalid HTML that WordPress produces when using the `[gallery]` shortcode. 
     16This plugin was written to take care of the invalid HTML that WordPress produces when using the `[gallery]` shortcode. 
    1417 
    1518It does a bit more than that though.  It will integrate with many Lightbox-type scripts and allow you to do much cooler things with your galleries.  Plus, it has a couple of extra options that you can play around with. 
    1619 
    17 Support for this plugin is handled on the Theme Hybrid <a href="http://themehybrid.com/support">support forums</a>. 
    18  
    19 **Features:** 
    20  
    21 * Validates the awful HTML that WordPress spits out. 
     20### Features 
     21 
     22* Uses HTML5 `<fig>` and `<figcaption>` elements. 
     23* Validates the invalid code that WordPress spits out. 
    2224* Several options on how you want your gallery images. 
    2325* Allows multiple galleries in a single post. 
    2426* Ability to set the number of images shown in each gallery. 
    2527* Ability to exclude or include any images from your gallery. 
    26 * Doesn't load any CSS or JavaScript unless you choose to do so. 
    27  
    28 **Integrates with 18 different Lightbox-type scripts:** 
    29  
    30 1. <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox 2">Lightbox 2</a> 
    31 1. <a href="http://www.digitalia.be/software/slimbox" title="Slimbox">Slimbox</a> 
    32 1. <a href="http://www.digitalia.be/software/slimbox2" title="Slimbox 2">Slimbox 2</a> 
    33 1. <a href="http://jquery.com/demo/thickbox/" title="Thickbox">Thickbox</a> 
    34 1. <a href="http://dolem.com/lytebox/" title="Lytebox">Lytebox</a> 
    35 1. <a href="http://orangoo.com/labs/GreyBox/" title="Greybox">Greybox</a> 
    36 1. <a href="http://www.nickstakenburg.com/projects/lightview/" title="Lightview">Lightview</a> 
    37 1. <a href="http://www.balupton.com/sandbox/jquery_lightbox/" title="jQuery Lightbox (balupton edition)">jQuery Lightbox Plugin</a> (balupton edition) 
    38 1. <a href="http://leandrovieira.com/projects/jquery/lightbox/" title="jQuery Lightbox">jQuery Lightbox Plugin</a> 
    39 1. <a href="http://www.laptoptips.ca/projects/wp-shutter-reloaded/" title="Shutter Reloaded">Shutter Reloaded</a> 
    40 1. <a href="http://mjijackson.com/shadowbox/index.html" title="Shadowbox">Shadowbox</a> 
    41 1. <a href="http://fancy.klade.lv" title="FancyBox">FancyBox</a> 
    42 1. <a href="http://github.com/krewenki/jquery-lightbox/tree/master" title="jQuery Lightbox">jQuery Lightbox</a> 
    43 1. <a href="http://www.stickmanlabs.com/lightwindow" title="LightWindow">LightWindow</a> 
    44 1. <a href="http://www.cabel.name/2008/02/fancyzoom-10.html" title="FancyZoom">FancyZoom</a> 
    45 1. <a href="http://randomous.com/floatbox/home" title="Floatbox">Floatbox</a> 
    46 1. <a href="http://colorpowered.com/colorbox" title="Colorbox">Colorbox</a> 
    47 1. <a href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone" title="prettyPhoto">prettyPhoto</a> 
     28* Doesn't load any extra CSS or JavaScript unless you choose to do so. 
     29 
     30### Integrates with 18 different Lightbox-type scripts 
     31 
     321. [Lightbox 2](http://www.huddletogether.com/projects/lightbox2/) 
     332. [Slimbox](http://www.digitalia.be/software/slimbox) 
     343. [Slimbox 2](http://www.digitalia.be/software/slimbox2) 
     354. [Thickbox](http://jquery.com/demo/thickbox/) 
     365. [Lytebox](http://dolem.com/lytebox/) 
     376. [Greybox](http://orangoo.com/labs/GreyBox/) 
     387. [Lightview](http://www.nickstakenburg.com/projects/lightview/) 
     398. [jQuery Lightbox Plugin](http://www.balupton.com/sandbox/jquery_lightbox/) (balupton edition) 
     409. [jQuery Lightbox Plugin](http://leandrovieira.com/projects/jquery/lightbox/) 
     4110. [Shutter Reloaded](http://www.laptoptips.ca/projects/wp-shutter-reloaded/) 
     4211. [Shadowbox](http://mjijackson.com/shadowbox/index.html) 
     4312. [FancyBox](http://fancy.klade.lv) 
     4413. [jQuery Lightbox](http://github.com/krewenki/jquery-lightbox/tree/master) 
     4514. [LightWindow](http://www.stickmanlabs.com/lightwindow) 
     4615. [FancyZoom](http://www.cabel.name/2008/02/fancyzoom-10.html) 
     4716. [Floatbox](http://randomous.com/floatbox/home) 
     4817. [Colorbox](http://colorpowered.com/colorbox) 
     4918. [prettyPhoto](http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone) 
     50 
     51### Professional Support 
     52 
     53If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](http://themehybrid.com/support), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 40,000+ users (and growing). 
     54 
     55### Plugin Development 
     56 
     57If you're a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it's [GitHub repository](https://github.com/justintadlock/cleaner-gallery).  
     58 
     59### Donations 
     60 
     61Yes, I do accept donations.  If you want to buy me a beer or whatever, you can do so from my [donations page](http://themehybrid.com/donate).  I appreciate all donations, no matter the size.  Further development of this plugin is not contingent on donations, but they are always a nice incentive. 
    4862 
    4963== Installation == 
    5064 
    51 1. Upload `cleaner-gallery` to the `/wp-content/plugins/` directory. 
    52 1. Activate the plugin through the 'Plugins' menu in WordPress. 
    53 1. Go to <em>Appearance > Cleaner Gallery</em> to set your preferences. 
    54  
    55 More detailed instructions are included in the plugin's `readme.html` file. 
    56  
    57 == Upgrade == 
    58  
    59 If you're upgrading from a version prior to version 0.9 of this plugin, please update your plugin settings.  You can do so by going to *Appearance > Cleaner Gallery*. 
     651. Uzip the `cleaner-gallery.zip` folder. 
     662. Upload the `cleaner-gallery` folder to your `/wp-content/plugins` directory. 
     673. In your WordPress dashboard, head over to the *Plugins* section. 
     684. Activate *Cleaner Gallery*. 
     69 
     70== Upgrade Notice == 
     71 
     72If you're upgrading from a version prior to version 1.0.0 of this plugin, please check your Cleaner Gallery plugin settings page to make sure everything is in order. A few settings changed in the update. 
    6073 
    6174== Frequently Asked Questions == 
    6275 
    63 = Why was this plugin created? = 
    64  
    65 The purpose of the Cleaner Gallery plugin is to get rid of the invalid XHTML caused by the default WordPress `[gallery]` shortcode.  But, since I was having so much fun with it, I decided to make it compatible with several Lightbox-type image scripts. 
    66  
    67 = Why do I have one column of images? = 
    68  
    69 If you expect multiple columns of images but only have one column, go to *Appearance > Cleaner Gallery* and make sure to select the checkbox for loading the Cleaner Gallery stylesheet. 
    70  
    71 = Why do my galleries look different after upgrading? = 
    72  
    73 If you're upgrading the plugin, please update your plugin settings.  You should always check this when upgrading any plugin.  You can do so by going to *Appearance > Cleaner Gallery*. 
    74  
    75 = Which Lightbox-type scripts will the plugin work with? = 
    76  
    77 The plugin has been tested and works with these scripts: 
    78  
    79 1. <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox 2">Lightbox 2</a> 
    80 1. <a href="http://www.digitalia.be/software/slimbox" title="Slimbox">Slimbox</a> 
    81 1. <a href="http://www.digitalia.be/software/slimbox2" title="Slimbox 2">Slimbox 2</a> 
    82 1. <a href="http://jquery.com/demo/thickbox/" title="Thickbox">Thickbox</a> 
    83 1. <a href="http://dolem.com/lytebox/" title="Lytebox">Lytebox</a> 
    84 1. <a href="http://orangoo.com/labs/GreyBox/" title="Greybox">Greybox</a> 
    85 1. <a href="http://www.nickstakenburg.com/projects/lightview/" title="Lightview">Lightview</a> 
    86 1. <a href="http://www.balupton.com/sandbox/jquery_lightbox/" title="jQuery Lightbox (balupton edition)">jQuery Lightbox Plugin</a> (balupton edition) 
    87 1. <a href="http://leandrovieira.com/projects/jquery/lightbox/" title="jQuery Lightbox">jQuery Lightbox Plugin</a> 
    88 1. <a href="http://www.laptoptips.ca/projects/wp-shutter-reloaded/" title="Shutter Reloaded">Shutter Reloaded</a> 
    89 1. <a href="http://mjijackson.com/shadowbox/index.html" title="Shadowbox">Shadowbox</a> 
    90 1. <a href="http://fancy.klade.lv" title="FancyBox">FancyBox</a> 
    91 1. <a href="http://github.com/krewenki/jquery-lightbox/tree/master" title="jQuery Lightbox">jQuery Lightbox</a> 
    92 1. <a href="http://www.stickmanlabs.com/lightwindow" title="LightWindow">LightWindow</a> 
    93 1. <a href="http://www.cabel.name/2008/02/fancyzoom-10.html" title="FancyZoom">FancyZoom</a> 
    94 1. <a href="http://randomous.com/floatbox/home" title="Floatbox">Floatbox</a> 
    95 1. <a href="http://colorpowered.com/colorbox" title="Colorbox">Colorbox</a> 
    96 1. <a href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone" title="prettyPhoto">prettyPhoto</a> 
    97  
    98 = How do I set it up? = 
    99  
    100 Well, it should work perfectly fine without any set up.  But, if you need to integrate it with a Lightbox-type script or change some of the default settings, head over to *Appearance > Cleaner Gallery* in the WordPress admin.  From there, you can select your preferences. 
    101  
    102 If you need a more detailed guide, see `readme.html`, which is included with the plugin. 
     76### Why was this plugin created? 
     77 
     78The purpose of the Cleaner Gallery plugin is to get rid of the invalid HTML output by the default WordPress `[gallery]` shortcode.  Since I was having so much fun with it, I decided to make it compatible with several Lightbox-type image scripts. 
     79 
     80It has eventually grown into an extremely robust and flexible image script. 
     81 
     82### Why do I have one column of images? 
     83 
     84If you expect multiple columns of images but only have one column, it's most likely that your theme is doing something incorrectly. 
     85 
     86Also, the Cleaner Gallery plugin stylesheet doesn't load if your theme supports `cleaner-gallery`.  If that's the case, it's your theme's responsibility to style the gallery output. 
     87 
     88### My gallery columns aren't working. What to do? 
     89 
     90It's impossible for me to say for sure without looking at your site.  More than likely, your theme is overwriting the gallery styles.  You'd need to stop by my [support forums](http://themehybrid.com/support) for support for your specific case. 
     91 
     92### Which Lightbox-type scripts will the plugin work with? 
     93 
     94The plugin has been tested and works with many different Lightbox-type image scripts.  They are all listed in the plugin description. 
     95 
     96### Can you help me set up an image script? 
     97 
     98I don't officially support any third-party code whatsoever.  However, I'm more than willing to **attempt** helping you set up your preferred image script via my [support forums](http://themehybrid.com/support). 
     99 
     100### Will you add support for X image script? 
     101 
     102There's a good chance that I will.  It really depends on how feasible it is.  Some scripts would require re-coding how the plugin works, which is something I probably won't do.  However, most scripts don't require this. 
     103 
     104If you'd like for me to add a new image script, please provide me with as much information as you can.  Particularly, a link to the page where I can download the script and view a demo of it.  That will go a long way towards getting support for the script included in this plugin. 
     105 
     106### How do I set it up? 
     107 
     108Technically, you don't have to set up anything at all.  It should work right out of the box. 
     109 
     110However, you do have several configuration options that you can set from the "Appearance > Cleaner Gallery" screen in the admin. 
     111 
     112### How do I integrate support for this plugin in a theme? 
     113 
     114If you're building a WordPress theme, it's extremely simple to add support for this plugin.  Simply add the following line to your theme's setup function: 
     115 
     116    add_theme_support( 'cleaner-gallery' ); 
     117 
     118Then, copy the plugins `css/gallery.css` file into your theme's stylesheet.  You are free to make any customizations you wish.  It's much more flexible than the default WordPress gallery, so you have a lot of freedom with design choices. 
     119 
     120### How do I customize the styles for galleries? 
     121 
     122Customizing your galleries can be very simple. Here's some CSS you can add to your theme's `style.css` and modify. 
     123 
     124    /* Style rules for the entire gallery */ 
     125    .gallery {} 
     126     
     127        /* Style rules for each item (image and caption) in the gallery */ 
     128        .gallery-item {} 
     129         
     130            /* Style rules for images within the gallery */ 
     131            .gallery-icon {} 
     132             
     133            /* Style rules for captions within the gallery */ 
     134            .gallery-caption {} 
     135 
     136### Can I paginate galleries? 
     137 
     138While the plugin has no way of paginating its own galleries, it's very much possible to make this happen using the WordPress `<!--nextpage-->` tag. 
     139 
     140Let's suppose we have 12 images we want to show. The first six will be on the first page while the following six will be on the second page. You'd use this code in the post editor: 
     141 
     142    [gallery numberposts="6"] 
     143     
     144    <!--nextpage--> 
     145     
     146    [gallery numberposts="6" offset="6"] 
    103147 
    104148== Screenshots == 
    105149 
    106 Screenshots and a demo can be found on the <a href="http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin" title="Cleaner Gallery">Cleaner Gallery plugin page</a>. 
     150A demo can be found on the [Cleaner Gallery page](http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin) or my [gallery archives](http://justintadlock.com/archives/type/gallery). 
     151 
     1521. Gallery from the [Socially Awkward theme](http://wordpress.org/themes/socially-awkward). 
     1532. Gallery from the [Chun theme](http://wordpress.org/themes/chun). 
     1543. Gallery from the [Picturesque theme](http://wordpress.org/themes/picturesque). 
     1554. Cleaner Gallery settings page. 
    107156 
    108157== Changelog == 
    109158 
    110 **Version 0.9.3** 
    111  
    112 * Renamed the `.clear` class to `.gallery-clear`. 
    113 * Added the `suppress_filters` argument to `get_children()`. 
    114 * Use `get_the_ID()` instead of the global `$post`. 
    115 * Allow HTML in gallery captions. 
    116 * Add the `ids` parameter to match WP 3.5 updates. 
    117 * License updated to GPL v2+ instead of GPL v2-only. 
    118  
    119 **Version 0.9.2** 
    120  
    121 * Fixed an IE8 CSS bug with `max-width` and `height`. 
    122 * Tested with WordPress 3.2. 
    123  
    124 **Version 0.9.1** 
     159### Version 1.0.0 
     160 
     161* License change from GPL v2-only to GPL v2+. 
     162* Rewrote large chunks of the plugin from the ground up. 
     163* Galleries are now HTML5+, using the `<fig>` and `<figcaption>` tags. 
     164* Dropped the caption link setting because captions in WordPress can now have links within them. Removing the setting was the best way to avoid conflicts. 
     165* Dropped the Cleaner Gallery stylesheet setting. It caused too much confusion for new users.  If you're savvy enough to add styles to your theme, you can handle disabling the stylesheet via the `add_theme_support( 'cleaner-gallery' )` method. 
     166* Much cleaner settings page that now uses the standard Settings API screen design. 
     167* Upgraded to support all newer WordPress gallery arguments that have been added up to version 3.7. 
     168 
     169### Version 0.9.1 
    125170 
    126171* Remove the default feature of overwriting the columns if gallery has too few images since users have asked for this. 
    127172 
    128 **Version 0.9** 
     173### Version 0.9 
    129174 
    130175* Important! Users sould re-save their settings after updating to version 0.9. 
     
    132177* Added the option of loading the Cleaner Gallery stylesheet. 
    133178* Made the gallery shortcode script modular, allowing it to be ported to other projects. 
    134 * Added support for the <a href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone" title="prettyPhoto">prettyPhoto</a> script. 
     179* Added support for the [prettyPhoto](http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone) script. 
    135180* Plugin now only officially supports WordPress 3.0+. 
    136181 
    137 ** Version 0.8** 
     182### Version 0.8 
    138183 
    139184* Important! Users sould re-save their settings after updating to version 0.8. 
    140185* Completely recoded the plugin from the ground up for a much needed code overhaul. 
    141 * Added support for the <a href="http://colorpowered.com/colorbox" title="Colorbox">Colorbox</a> script. 
     186* Added support for the [Colorbox](http://colorpowered.com/colorbox) script. 
    142187* Added the `cleaner_gallery_image_link_class` filter hook. 
    143188* Added the `cleaner_gallery_image_link_rel` filter hook. 
     
    150195* Added the `offset` argument so that users could more easily make paginated galleries. 
    151196 
    152 **Version 0.7** 
     197### Version 0.7 
    153198 
    154199* Recoded much of the plugin to be more efficient. 
     
    159204* Deprecated CSS functions in favor of using `wp_enqueue_style()`.' 
    160205* Dropped support for WordPress 2.5. 
    161 * Added support for <a href="http://github.com/krewenki/jquery-lightbox/tree/master" title="jQuery Lightbox">jQuery Lightbox</a>. 
    162 * Added support for <a href="http://www.stickmanlabs.com/lightwindow" title="LightWindow">LightWindow</a>. 
    163 * Added support for <a href="http://www.cabel.name/2008/02/fancyzoom-10.html" title="FancyZoom">FancyZoom</a>. 
    164 * Added support for <a href="http://randomous.com/floatbox/home" title="Floatbox">Floatbox</a>. 
    165  
    166 **Version 0.6.1** 
     206* Added support for [jQuery Lightbox](http://github.com/krewenki/jquery-lightbox/tree/master). 
     207* Added support for [LightWindow](http://www.stickmanlabs.com/lightwindow). 
     208* Added support for [FancyZoom](http://www.cabel.name/2008/02/fancyzoom-10.html). 
     209* Added support for [Floatbox](http://randomous.com/floatbox/home). 
     210 
     211### Version 0.6.1 
    167212 
    168213* Added `numberposts` parameter. 
     
    170215* Added `include` parameter. 
    171216 
    172 **Version 0.6** 
     217### Version 0.6 
    173218 
    174219* Cleaned up the code to be more efficient and understandable. 
    175220* New options added to the settings page, which include *Default Image Size*, *Default Order*, and *Default Orderby*. 
    176 * Added support for <a href="http://www.digitalia.be/software/slimbox2" title="Slimbox 2">Slimbox 2</a>. 
     221* Added support for [Slimbox 2](http://www.digitalia.be/software/slimbox2). 
    177222* Fixed the `[gallery columns="0"]` error. 
    178223* Fully documented nearly every function and line of code within the PHP files. 
    179224 
    180 **Version 0.5** 
     225### Version 0.5 
    181226 
    182227* Added in an options panel. 
    183228* Support added for Fancybox. 
    184  
    185 Earlier versions were not documented well. 
Note: See TracChangeset for help on using the changeset viewer.