10+
June 20, 2009
September 19, 2007
Creates polaroids of images on the fly for thumbnails in posts. Support for lightbox included. Built on modified Polaroid-o-nizer v0.7.2 sources.
I wanted to mimic the Polaroid look that you can achieve with Google Picasa to add thumbnails to my posts. I found a plugin titled WP-Polaroidonizer that did what I wanted to some extent but it didn’t have the right feel to it.
The other problem I have with Polaroid-o-nizer and WP-Polaroidonizer is the lack of security. When I mention lack of security there is by default no way to restrict external sites and users from generating Polaroid pictures using your installation of Polaroid-o-nizer.
The goal of this plugin was to use rel= style html img tags to transform a simple URL into a Lightbox URL in which there is a thumbnail image in your post which is linked to an image that can be loaded using Lightbox or any of the Lightbox clones/alternatives.
polaroid-on-the-fly folder from the /wp-content/plugins/ directorypolaroid-on-the-fly folder to the /wp-content/plugins/ directoryCreate an image link in your post in the following format:
Be sure to include rel="polaroid" as this activates the plugin.
alt="Picture[album]" is included the portion listed here as Picture will be displayed as the image title in Lightbox and the portion listed as [album] will group multiple pictures into an album called album. The alt tag is not required and if used the [album] portion is not required. Read the Lightbox usage for more details on Titles and albums.Do not use the visual editor for doing the above use the code editor.
polaroid-on-the-fly folder to the /wp-content/plugins/ directoryNOTE: See “Other Notes” for Upgrade and Usage Instructions as well as other pertinent topics.
The image referenced in the image tag has a resolution less than 200×200 pixels.
The image referenced in the image tag has a resolution greater than 2000×2000 pixels.
The URL of the image referenced in the image tag does not exist.
The background color specified on the options page is not a valid 24 bit RGB color. When written, RGB values in 24 bits per pixel (bpp), also known as Truecolor, are commonly specified using three integers between 0 and 255, each representing red, green and blue intensities, in that order. For example:
* white is 255,255,255
* black is 0,0,0
* red is 255,0,0
* green is 0,255,0
* blue is 0,0,255
You should never see this message. The regex used to find the img tag with rel=”polaroid” will only select img tags including jpg,gif and png. I figured hey why not create a useless image it may come in handy some day.
You need to have the PHP GD Module Installed. This plugin requires the GD module to make the polaroid image. This plugin will not function without this module.
You have the PHP GD Module installed but the GD version does not support GIF images. This plugin will still work but you will not be able to use a GIF for the source image.