=== Before After === Plugin Name: Before After Plugin URI: http://www.instruite.com/blog/2010/03/04/before-after-photo-effect-plugin/ Description: Display before after effects with photos Author: instruite Author URI: http://www.instruite.com Contributors: instruite Donate link: http://www.icnd.info Version: 1.0.2 Stable tag: 1.0.2 Tags: photos, before, after, photo effects, photoblog, before after Requires at least: 2.9 Tested up to: 4.4.2 == Description == Before After plugin integrates modified version [jQuery Before/After Plugin](http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/ "jQuery Before/After Plugin") in the wordpress. It can be used to show the difference between edited and original photo, before and after photos of changes, etc. Please check 'Other Notes' for the Usage instructions to see how to use it on your blog Demosites: [Demo with Latest version](https://www.instruite.com/blog/2016/02/16/before-after-works/ "Demo with Latest version") [Operation on custom theme](http://www.instruite.com/blog/2011/05/18/photostrying-photoshop-filters/ "Operation on custom theme") Author info: Follow me on [Twitter](http://twitter.com/instruite/ "Follow instruite on twitter") or become my Friend on [facebook](http://www.facebook.com/instruite/ "Instruite's Facebook page") Also on [Google+](https://plus.google.com/108357740742566610994/ "Follow instruite on Google+") == Installation == = Requirements = * WordPress: 2.9 or newer = Auto Installation = * Go to your blog's WordPress Admin Panel -> Plugins -> Add New * Search for "before after instruite" * Click "Install now" = Configuration = * Go to your blog's WordPress Admin Panel -> Options -> Before After * Set the parameters as per your requirements (should work with default parameters too) * See [Plugin Page](http://www.instruite.com/blog/2010/03/04/before-after-photo-effect-plugin/ "Before After Plugin Page")for more details on configuration parameters = Manual Installation = * Plugin folder in the WordPress plugins folder must be `before-after` * Upload folder `before-after` to the `/wp-content/plugins/` directory * Activate the plugin through the 'Plugins' menu in WordPress * Check out 'Other Notes' for usage instruction. == Upgrade Notice == = 1.0.0 = * In case before after page breaks deactivate and reactivate the plugin once = 0.1.x = * If you can not see the effects after the automatic upgrade, try deactivating and then reactivating the plugin == Frequently Asked Questions == ***Before after effect is breaking on my site with Chrome or Safari Browser***
This effect requires image height and width to be specified with images, if your img tags conatins those parameters and stil you are having issues with Chrome or Safari web browsers Enable Automatic Detect Dimensions on Before After Options page and reload your pages. ***Issues with images not showing up or only one image being shown***
Make sure code for both images "img" tag are with in the beforeafter shortcode and one image (image supposed to be before image) has "alignleft" text in "class" attribute of the "img" tag. ***Issues with miss alignment of images/bar***
This are mostly due to css issues of the theme. Check the post with default wordpress theme and if it works then you will need to customize css of your theme. == Other Notes == = Usage = * Write the content of your post other than the images * Switch to 'HTML-editor' mode of the post editor area * Click 'BeforeAfter' button (This will start the '[beforeafter]' shortcode) * Add the photos to your post through the wordpress image/media uploader * 1 photo should be left align when you insert the images on your post, the other one can be aligned right/center/none * The 'left-aligned' photo is taken as before photo so please align your photos accordingly * After you have inserted the two images in the post Click 'BeforeAfter' button again to close '[/beforeafter]' shortcode. * You can add more content to your post after closing the '[/beforeafter]' shortcode * The content other than image information withing the '[beforeafter]...[/beforeafter]' is ignored when the shortcode is executed, in other places like home page archive page the content will be shown as is in the post. == Changelog == = 1.0.2 = * Bumping the version number * Updated readme file with new demo info and updated FAQs = 1.0.1 = * Minor Bug Fix = 1.0.0 = * Total revamped of code * Using modified version of Jquery Before After original script to V1.3 * Added options page * Before After Javascripts options can be provided through shortcode attributes now = 0.1.5 = * Fixed the bug causing php error = 0.1.4 = * Changed code to use JScripts bundeled with Wordpress * Modified the beforeafter.js for a fix for depreceated function * bug in image cause image height to default to 0 = 0.1.3 = * Upgrade the original jquery.beforeafter to V1.2 = 0.1.2 = * Fixed a bug causing the button to put shortcode not showing up in editor = 0.1.1 = * Fixed a bug caused by themes (like twentyten) which set max-width for images = 0.1.0 = * Changed to show effect on pages other than single post * Added activation and deactivation functions to add/delete options in wp-table = 0.0.3 = * No change in code just changing the version to push the upgrade = 0.0.2 = * Bug fix for Internet explorer = 0.0.1beta = * Beta Release for Testing