=== Image Formatr === Contributors: huntermaster Tags: images, caption, formatting, post, page Requires at least: 2.0 Tested up to: 3.0.4 Donate link: http://www.channel-ai.com/blog/donate.php?plugin=image-formatr Stable tag: 0.9.5 Formats all content images on a page / post giving them borders and captions. == Description == Image Formatr is a very 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 preffered display dimensions. *Note: version 0.9.5 integrates the Highslide JavaScript library directly; therefore, the **Highslide Integration** plugin by Christoph Dietrich is **no longer needed**; therefore, you should copy your Highslide options to the Image Formatr options in the Administration settings.* I would really appreciate 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:
A sample caption
  = Requirements = No external requirements are needed. The Highslide JavaScript library is now package 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) * supports custom CSS class for div image container * 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. == Work in Progress == Current development work is summarized on [Wordpress trac](http://plugins.trac.wordpress.org/browser/image-formatr/trunk/wip). == 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 * 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** == 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/). == Changelog == = 0.9.6 - development = * import Highslide Integration plugin settings upon Image Formatr activation = 0.9.5 - 2011-01-18 = * Highslide integrated directly into Image-formatr plugin * Added: Admin option for the mouseover hint "Click here to enlarge" * Added: Admin option to use different image dimensions on the home page * Added: Admin option for Highslide settings * Added: restrict image url protocols to http, https, ftp, file * Added: "Group" image attribute can separate Highslide popup slideshows * Added: Highslide JavaScript library w/gallery (highslide.js) 4.1.9 (2010-07-05) * Removed: Highslide Integration plugin requirement * Changed: "Strip title" admin option now actually strips the title * Changed: "Hint" image attribute gets printed differently = 0.9.4 - 2011-01-13 = * Class structure used and performance increased * Added: Class structure encapsulation * Added: Admin setting to disable image inspection (speed increase) * Changed: Admin setting "Thumbnail dimensions" to allow zero, which then calculates based on aspect ratio * Removed: PHP-GD library call and Snoopy call (speed increase) = 0.9.3 - 2011-01-13 = * Bugfix patch * Changed: admin settings bug fixes = 0.9.2 - 2010-04-16 = * Smiley/emoticon displayed * Changed: Smileys like :) were causing errors so I added a check to make sure we are not effecting emoticon graphics within the post. Now smileys display fine, thanks to http://blog.andrewkinabrew.com/ = 0.9.1 - 2010-03-9 = * Standard thumnail dimensions * Changed: Allow for zero length long or short thumbnail dimension in the administration settings = 0.9 - 2010-01-26 = * Initial beta release * Renamed the `usemyanchor` image modifier attribute to `usemya` with no deprecated support for the old one * Fixed: caption administration setting not working * Added: force-root image location mangler administration setting * Added: administration setting to standardize all thumbnail sizes * Added: `usemysize` attribute to allow for individual image sizing * Changed: no longer supports MyCSS plugin = 0.8 - 2010-01-5 = * Initial alpha release