{"id":2057,"date":"2007-09-19T13:50:59","date_gmt":"2007-09-19T13:50:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/polaroid-on-the-fly\/"},"modified":"2009-06-20T14:28:47","modified_gmt":"2009-06-20T14:28:47","slug":"polaroid-on-the-fly","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/polaroid-on-the-fly\/","author":242490,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.7","stable_tag":"0.7","tested":"2.7","requires":"2.3","requires_php":"","requires_plugins":"","header_name":"Polaroid on the Fly","header_author":"Matt Martz","header_description":"","assets_banners_color":"","last_updated":"2009-06-20 14:28:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/sivel.net\/wordpress\/","header_author_uri":"http:\/\/sivel.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":12579,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4","0.5","0.6","0.7"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1566835","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566835","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566835","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566835","resolution":"1","location":"plugin"}},"screenshots":{"1":"Screenshot of Options page.","2":"Screenshot of end product.","3":"Screenshot of end product with captions.","4":"Error messages.  See FAQ for error message explanations."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1975,163,175,86,166],"plugin_category":[46,50],"plugin_contributors":[78725],"plugin_business_model":[],"class_list":["post-2057","plugin","type-plugin","status-publish","hentry","plugin_tags-formatting","plugin_tags-images","plugin_tags-links","plugin_tags-post","plugin_tags-posts","plugin_category-editor-and-writing","plugin_category-media","plugin_contributors-sivel","plugin_committers-sivel"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/polaroid-on-the-fly.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/polaroid-on-the-fly\/trunk\/screenshot-1.png?rev=1566835","caption":"Screenshot of Options page."},{"src":"https:\/\/ps.w.org\/polaroid-on-the-fly\/trunk\/screenshot-2.png?rev=1566835","caption":"Screenshot of end product."},{"src":"https:\/\/ps.w.org\/polaroid-on-the-fly\/trunk\/screenshot-3.png?rev=1566835","caption":"Screenshot of end product with captions."},{"src":"https:\/\/ps.w.org\/polaroid-on-the-fly\/trunk\/screenshot-4.png?rev=1566835","caption":"Error messages.  See FAQ for error message explanations."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ol>\n<li>PHP GD Module<\/li>\n<li>Lightbox - Not really a requirement but a recommendation if you want to have a nice ajax\/javascript image overlay on your page.<\/li>\n<\/ol>\n\n<h3>Upgrade<\/h3>\n\n<ol>\n<li>Deactivate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Delete the previous <code>polaroid-on-the-fly<\/code> folder from the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Upload the new <code>polaroid-on-the-fly<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li><p>Create an image link in your post in the following format:<\/p>\n\n<p><\/p><\/li>\n<li><p>Be sure to include <code>rel=\"polaroid\"<\/code> as this activates the plugin.<\/p><\/li>\n<li>If <code>alt=\"Picture[album]\"<\/code> is included the portion listed here as Picture will be displayed as the image title in Lightbox and the portion listed as <code>[album]<\/code> will group multiple pictures into an album called album. The alt tag is not required and if used the <code>[album]<\/code> portion is not required. Read the Lightbox usage for more details on Titles and albums.<\/li>\n<li>Be sure to place each html img tag on a separate line.<\/li>\n<li>This plugin supports the following image formats: jpg, png, gif<\/li>\n<\/ol>\n\n<h4>NOTE:<\/h4>\n\n<p>Do not use the visual editor for doing the above use the code editor.<\/p>\n\n<h3>To Do<\/h3>\n\n<ol>\n<li>Add features for x and y offset<\/li>\n<li>Add features for rotation angle<\/li>\n<li>Add additional error reporting for the offset and angle<\/li>\n<li>Add functionality to options page to generate a URL for placement elsewhere on the site.<\/li>\n<li>Add functionality to cache the polaroid images.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>polaroid-on-the-fly<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>NOTE: See \"Other Notes\" for Upgrade and Usage Instructions as well as other pertinent topics.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What Do The Error Messages Mean:<\/dt>\n<dd><\/dd>\n<dt>Source image resolution below min (200x200px)<\/dt>\n<dd><p>The image referenced in the image tag has a resolution less than 200x200 pixels.<\/p><\/dd>\n<dt>Source image resolution above max (2000x2000px)<\/dt>\n<dd><p>The image referenced in the image tag has a resolution greater than 2000x2000 pixels.<\/p><\/dd>\n<dt>Source URL Incorrect of does not Exist<\/dt>\n<dd><p>The URL of the image referenced in the image tag does not exist.<\/p><\/dd>\n<dt>Background color is invalid use RGB only<\/dt>\n<dd><p>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:\n* white is 255,255,255\n* black is 0,0,0\n* red is 255,0,0\n* green is 0,255,0\n* blue is 0,0,255<\/p><\/dd>\n<dt>Source image unknown file type (jpg,gif,png only)<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>PHP GD Module Not Found. Polaroid on the Fly will not work. See http:\/\/us.php.net\/gd for installation information.<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>PHP GD Module Found. However, it does not include support for GIF.  You will not be able to use a GIF for the source image. See http:\/\/us.php.net\/gd for more information.<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.7 (2008-07-31):<\/h4>\n\n<ul>\n<li>Updated for compatibility with WordPress 2.6 (wp-content and wp-config.php changes)<\/li>\n<li>Changes to gen-polaroid.php to accommodate Ubuntu PHP GD Packages<\/li>\n<li>Updated path to the font ttf file in gen-polaroid.php<\/li>\n<li>Output image now in png format instead of jpg<\/li>\n<\/ul>\n\n<h4>0.6 (2008-01-23):<\/h4>\n\n<ul>\n<li>Added ability to opt in to using Lightbox.<\/li>\n<li>Added option to select how the image will open. (ie. new window, self)<\/li>\n<li>Added option to specify the hright and width of the thumbnail<\/li>\n<li>Added option to reset all options to their defaults<\/li>\n<li>Updated descriptions on the Options page.<\/li>\n<\/ul>\n\n<h4>0.5 (2007-10-24):<\/h4>\n\n<ul>\n<li>Added error reporting.  Errors will be displayed as a replacement to the image in the post.<\/li>\n<li>Added images for use when displaying the above errors<\/li>\n<li>Added error reporting for GD Module.  Errors will be displayed on the options page.<\/li>\n<li>Added functionality to opt in to using encoded URLs<\/li>\n<li>Fixed case sensitvity in regex used to match the img tag (now case insensitive)<\/li>\n<li>Removed large amounts of uneeded code in the Polaroid-o-nizer script<\/li>\n<li>Converted all files to UNIX format<\/li>\n<\/ul>\n\n<h4>0.4 (2007-10-03):<\/h4>\n\n<ul>\n<li>Added options page (Options-&gt;Polaroid on the Fly)<\/li>\n<li>Added functionality to opt in to security restrictions<\/li>\n<li>Added functionality to not require the use of tinyurl.com and fopen<\/li>\n<li>Added functionality to display the photo caption using the alt text<\/li>\n<li>Added support to change the background color from the options page<\/li>\n<li>Removed requirement for .htaccess<\/li>\n<li>Renamed the Polaroid-o-nizer files<\/li>\n<li>Changed references to Polaroid-o-nizer files<\/li>\n<\/ul>\n\n<h4>0.3 (2007-09-18):<\/h4>\n\n<ul>\n<li>Initial Public Release<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2057"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sivel"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2057"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2057"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2057"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2057"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2057"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}