nedcampion / lazy_image

Rails plugin for lazy loading images

This URL has Read+Write access

name age message
file MIT-LICENSE Loading commit data...
file README
directory assets/
file init.rb
file install.rb
directory lib/
file uninstall.rb
README
Install
=======

From your app's root directory run:

script/plugin install git://github.com/nedcampion/lazy_image.git

If you are running an older (< 2.1.0) version of rails you may need to manually copy over files in assets/ to their 
respective folders in public/.  Requires Prototype >= 1.6.

Make sure to source and include the lazy-image.js and lazy-image.css files on the pages you're utilizing the 
lazy_image_tag method.

Usage
=======

lazy_image_tag acts just like image_tag, but requires a size.

<= lazy_image_tag 'some_image.jpg', :size => "100x100" >


Copyright (c) 2009 [Ned Campion], released under the MIT license