Lazy image loader for the Yii framework

Installs: 1 626

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

1.0.2 2014-06-28 08:52 UTC


Lazy image loader for the Yii framework. It is implemented as a static class which leverages jQuery Unveil to load images lazily. The interface is the same as CHtml::image() so existing code can easily be adapted to use it.


Require the project in your composer.json, then use it like this:

echo \yiilazyimage\components\LazyImage::image($url, $alt, $htmlOptions);


This project is licensed under the MIT license