Skip to content

CoderTeams/yii2-imageboss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Yii2 ImageBoss Responsive Widget

Renders IMG tags with the ImageBoss third party service acording to device screen size

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist coderteams/yii2-imageboss "*"

or add

"coderteams/yii2-imageboss": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \coderteams\imageboss\Image::widget(['url'=>'/myimage.jpg']); ?>```