=== Plugin Name === Contributors: Webby Scots Tags: gallery, javascript, prettyphoto Requires at least: 2.5 Tested up to: 3.6 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Taking over the WordPress Gallery shortcode with a prettyPhoto gallery showing only the first image as an anchor to open the modal gallery. == Description == PrettyPhoto WPGallery enhances the Wordpress [gallery] shortcode. When activated any gallery shortcode invoked with the attribute link=’file’ will show only the first image in the size specified in the shortcode, with hidden links to the remaining images. When clicked the image opens the gallery inside a prettyPhoto modal. The modal images are all set to ‘full’ so the modal expands to full size. Apart from that the gallery shortcode works as normal. At present the plugin is very simple, as it was written for a client. Over the coming months I will tidy it up and start adding new features probably starting with other prettyPhoto themes and such like. I have decided not to have a settings page, instead all options will be specified using attributes in the shortcode. Let me know if you think that a settings page will be better -- you can contact me over at [Webby Scots.com](http://webbyscots.com/) or simply use the forums here if it is easier. Note: As of 1.0.1 Setting columns in the gallery shortcodes will make the galleries float side by side as the gallery items do in the normal shortcode - see changelog. == Installation == 1. Extract the zip and add the entire plugin directory to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Then simply use the [gallery shortcode](http://codex.wordpress.org/Gallery_Shortcode) as normal being sure to specify the `link='file'` attribute like so:`[gallery link=’file’]`. You can use any other parameters as normal. 1. Setting columns in the gallery shortcodes will make the galleries float side by side as the gallery items do in the normal shortcode (as of 1.0.1) == Frequently Asked Questions == = Can you display a text link anchor to open the modal instead? = Not yet unless you can modify the code (contact me and I will detail exactly how it is a simple change), but once (if, here's hoping) the plugin gains some traction I will add my own attributes (or a settings page if you guys call out for it). = Can you have more than one image on show as anchors = Again, not yet but I am already working on the code that will make the columns parameter work for this == Screenshots == 1. Shows three seperate gallery shortcodes in a row, each containing multiple images to show in modal gallery 2. The first gallery clicked to reveal the prettyPhoto gallery 3. The second gallery clicked to reveal the prettyPhoto gallery 4. The third gallery clicked to reveal the prettyPhoto gallery == Changelog == = 1.0.0 = First release of plugin = 1.0.1 = Changes style - gallery container is now floated instead of gallery-item, and the width is also set on the container element, this allows the gallery anchor image to float in columns as the individual items do in the normal gallery. Set the columns in each shortcode to set the correct width for the floating galleries.