=== Plugin Name === Contributors: subztep Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=64V8Y63QZLTTS Tags: gif, images Tested up to: 4.0 Stable tag: 1.10.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Replace GIF animations to a static preview image == Description == This plugin finds every GIF animation in your posts and replace it to a preview image. Doesn't matter the GIF embedded from another website or use WordPress's static thumbnail. It automatically generates the preview image from the first frame of the animation and save it to the post's media directory with `-gap.jpg` suffix. Posts show the pregenareted small size jpeg file first, your visitors don't need to wait for download the huge animation. Play animation after they click on the image or after your whole page has downloaded. It depends on your setting: * You are able to stop animations everywhere * Or start animation automatically only inside a post * Or start the moves everywhere by default, use this plugin for lazyload There are additional settings: * Pretty smooth effect between your preview and animation * Start animations with your mouse * Work with metadata and preview * Disable on certain images with `nogap` class Don't worry, delete this plugin will remove all settings from your database. Generated preview images gonna stay there, you can use them everywhere until you delete them manually. [Live Demo](http://demo.land/wordpress/?p=4) On GitHub: https://github.com/SubZtep/gif-animation-preview == Installation == 1. Upload plugin files to the `/wp-content/plugins/gif-animation-preview/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Find Settings > GIF Animation Preview on your admin interface Preview images generated on the fly, first view of the posts might be slow == Frequently Asked Questions == = Does plugin load gif animation directly with preview? = Animation loads after clicking at preview on mobile browsers but loads automatically on desktops. = Does it delete the generated preview image after delete the original post or original image? = No. It can't be sure you use the preview image somewhere else. If you don't need preview anymore you need to delete it by yourself from the media directory. = Does it add any watermark on the preview image? = No, it only generated clean image with separated play button on the top. = Does this plugin modify anything in my database? = No, everything is happening on the fly. Once you deactivate, you get back your original posts (fyi it stores your settings in wp_options table, as usual). = Can I use it with Infinite scroll plugin? = Yes, you need to add `gapStart();` to the callback area on admin. = Can I use it with Aruna template? = Yes, open `wp-content/themes/Aruna/functions.php` with a text editor and add `$teo_nolazy = true;` line after `