Plugin Directory

Image Formatr

Formats all content images on a page / post giving them borders and captions.

Download Version 0.9.7.5

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: Flickr support is slated for the next release, version 0.9.8.

I would love your feedback! sroth77 is now at gmail.com http://warriorself.com/blog/contact/ thanks.

Usage

This only applies to the images you put in your content, not theme graphics.

<img
  src="/images/picture.jpg"
  class="alignright"
  title="A sample caption"
  link="http://example.com/"
  hint="Image borrowed from example.com"
/>

After the plugin runs, the output to the browser looks like:

<div class="img alignright" style="width: 140px;">
<a
  href="/images/picture.jpg"
  class="highslide"
  onclick="return hs.expand(this, { slideshowGroup: 'main' })"
><img
  src="/images/picture.jpg"
  title="Image borrowed from example.com" alt=""
  width="140" height="90"
></a>
<div style="width: 100%;">
  <a href="http://example.com/" target="_blank">A sample caption</a>
</div>
</div>

 

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
  • Allows for fine-grained control of each image's format
  • Zooms image to large size when clicked using the Highslide library
  • Outputs standard XHTML compliant markup
  • Support BBCode [img] shortcodes
Author: huntermaster

Requires: 2.7 or higher
Compatible up to: 3.2.1
Last Updated: 2011-7-20 Downloads: 4,327

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5 ratings)

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,2,2 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 0,1,0
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1