=== Image Formatr ===
Contributors: huntermaster
Tags: images, flickr, caption, formatting, post, page
Requires at least: 2.5
Tested up to: 3.1
Donate link: http://www.channel-ai.com/blog/donate.php?plugin=image-formatr
Stable tag: 0.9.6
Formats all content images on a page / post giving them borders and captions.
== Description ==
Image Formatr is a simple plugin that goes through all the content
images on a post/page:
1. gives them a standardized thumbnail format using CSS
2. puts a caption underneath each one using the title
3. makes them linked so they popup in full size
Thumbnails are not generated, the actual image is displayed in a smaller
size by telling the browser the preferred display dimensions.
*Note: starting with version 0.9.5 Image Formatr integrates the Highslide
JavaScript library directly; therefore, the **Highslide Integration**
plugin by Christoph Dietrich is **no longer needed**.*
I would love your feedback!
sroth77@gmail.com
http://warriorself.com/blog/contact/
thanks.
= Usage =
*This only applies to the images you put in your content, not theme graphics.*
After the plugin runs, the output to the browser looks like:
= Requirements =
No external requirements are needed. The Highslide JavaScript library is
now packaged in the Image-formatr plugin itself. The Highslide Integration
plugin used in previous versions of Image-formatr is no longer needed.
= Features =
* Generates image captions using the image `title` or `alt`
* Shows all content images on the blog as small thumbnails (does not create
new thumbnail images)
* Standardizes all thumbnails with zero post changes
* Automatically adds width, height and alt attributes to your images
* Zooms image to large size when clicked (with HighSlide plugin installed,
not included, see Requirements)
* Outputs standard XHTML compliant markup
== Credits ==
Image Formatr is Copyright 2011 [Steven Almeroth](sroth77@gmail.com) and
licensed under the GPL2 license
Based on: [image-caption](http://wordpress.org/extend/plugins/image-caption/)
by [Yaosan Yeo](http://www.channel-ai.com/blog/)
Highslide: The JavaScript [Image thumbnail viewer](http://highslide.com/)
library by Torstein Hønsi is licensed under a
[Creative Commons Attribution-NonCommercial 2.5 License]
(http://creativecommons.org/licenses/by-nc/2.5/). This means you need the
author's permission to use it on commercial websites.
== Overrides ==
The actions of the plugin are enabled and disabled with administration settings
but can be overridden on each individual image.
* **`usemysize`** - true/false - *true = do not ignore an image width and height*
* **`usemya`** - true/false - *true = do not ignore a parent anchor tag*
* **`nocap`** - true/false - *true = do not create a caption*
* **`nofx`** - true/false - *true = no popup effect*
* **`link`** - string url - *make the caption a link to the url*
* **`hint`** - string txt - *this will be the new image title*
* **`asis`** - true/false - *true = don't change nuthin*
* **`group`** - string txt - *separate popup slideshows*
* **`page`** - single/!single/front/!front - *page filtering* (available in version 0.9.7)
If you want to surround an image with an anchor tag ``, then you should add
a `usemya` attribute within the image tag or else your anchor will be ignored
and replaced. If you do not want the popup effect at all, add a `nofx` attribute
to the image. If you do not want any caption, you can specify `nocap`, or just
leave the title blank. And to have the plugin completely ignore an image and
output the content directly from the post, use the `asis` attribute.
**Example**
Note: do not include "false" parameters like ``, only
include the attribute if you want to designate a "true" value.
== Installation ==
1. Download and extract the plugin
2. Upload the extracted directory (image-formatr) to your WordPress plugin
directory, probably wp-content/plugins
3. Activate the plugin through the 'Plugins' menu in WordPress admin
== Screenshots ==
1. Image Formatr administration screen
== Website ==
More information, including how to contact me, is available at
[warriorself.com](http://warriorself.com/blog/about/image-formatr/).
== FAQ ==
Frequently Asked Questions:
1. *Wordpress "smiley" emoticons like `:)` keep showing up with the other
images. How can I prevent smileys from being effected?*
Version 0.9.6 includes a *class exclusion list* which prevents an image
from being processed by the plugin if it contains a CSS class that is in
the list. Wordpress uses "wp-smiley" for their smileys so enter `wp-smiley`
into the exclusion classes in the Wordpress administration settings for
Image-formatr then click "Update Options".
== Current Wishlist for version 0.9.8 ==
* admin options not properly preserved during upgrade
* supports custom CSS class for div image container
* add admin option to configure the plugin priority
* add admin option for html/xhtml closing tags
* add admin option to use prebundled highslide or other
* add admin option for moving title attribute to alt attribute
* add admin option to use for default highslide slideshow group
* add an image attribute to show Flickr images
* change [flickrset id="123"] to [flickr set="123"]
* bug: if you click too early, before the highslide loads, the anchor
is still "live" and will not use ajax, i.e the new url will load
which is the normal anchor behaviour
* bug: add_settings_field()