Permalink
Browse files

Update readme.

  • Loading branch information...
1 parent c8d9811 commit 9739edaf89a973f906a7009aea56cf055aee3a12 Nathan Winch committed May 23, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
@@ -1,4 +1,4 @@
-jquery-slacker
+Slacker
=============
jQuery plugin for lazy loading images.
@@ -19,6 +19,11 @@ HTML
`<div class="slacker" data-slacker='{ "sizes":{ "original":"img/image1.jpg", "640":"img/image-640.jpg" }}'></div>`
+### High quality images
+You can split any resolution check into high and low quality image options. Slacker will detect if you are using a high pixel density
+ratio (current check is for > 1).
+`<div class="slacker" data-slacker='{ "sizes":{ "original":"img/image1.jpg", "640":{ "reshigh":"img/image-640-high.jpg", "reslow":"img/image-640-low.jpg" }}}'></div>`
+
JavaScript
----------

0 comments on commit 9739eda

Please sign in to comment.