Git Product home page Git Product logo

wp-lazy-load's Introduction

=== wp-lazy-load ===
Contributors: dsawardekar
Donate link: http://pressing-matters.io/
Tags: lazy load, jquery lazy load, image lazy load, optimization
Requires at least: 3.5.0
Tested up to: 3.9.2
Stable tag: 0.3.2
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WordPress integration with jQuery Lazy Load.

== Description ==

This plugin optimizes your page load performance using the jQuery Lazy
Load. The img src attributes in your posts are replaced with
placeholder tags. The plugin waits for the user to scroll to near
the image before it starts loading the image.

This improves your page speed as only images that are actually viewed by users
are loaded. And your servers will also perform better as they will need
to serve fewer images.

== Installation ==

1. Click Plugins > Add New in the WordPress admin panel.
1. Search for "wp-lazy-load" and install.

###Customization###

The `threshold` parameter controls the distance in pixels that the your
viewers need to be close to to trigger loading of images. Default is 200
pixels.

The plugin uses a transparent gif as the placeholder image by default.
This can be changed by adding a custom placeholder image to your current
themes `wp-lazy-load` subdirectory.

For eg:- if you add `red.gif` to {current_theme}/wp-lazy-load/red.gif
and then change the plugin settings to use `red.gif`.

Then the placeholder for your images will use this red.gif image
instead.

== Screenshots ==

1. Screenshot 1
2. Screenshot 2

== Credits ==

* Thanks to Mika Tuupola for [jQuery lazyload](https://github.com/tuupola/jquery_lazyload)

== Upgrade Notice ==

* WP-Lazy-Load requires PHP 5.3.2+

== Frequently Asked Questions ==

* Can I change the placeholder image?

Yes, see the customization section under Installation.

== Changelog ==

= 0.3.2 =

* Adds `effectSpeed` parameter to control the animation speed.
  * Default is 400 ms.

= 0.3.1 =

* Upgrades to Arrow 1.8.0.

= 0.3.0 =

* Upgrades to Arrow 1.6.0.
* Migrates plugin setting page to a client-side jQuery based app.

= 0.2.0 =

* First release on wordpress.org

= 0.1.0 =

* Initial Release

wp-lazy-load's People

Contributors

dsawardekar avatar

Stargazers

Dinesh Kesarwani avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.