Download the PHP package yiicod/yii2-easyimage without Composer
On this page you can find all versions of the php package yiicod/yii2-easyimage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-easyimage
Yii EasyImage extension
You don't need to create many types of thumbnails for images in your project.
You can create a thumbnail directly in the View
. Thumbnail will automatically cached. It's easy!
Features:
- Easy to use
- Support
Imagick
,Gmagick
andGD2
- Automatically images caching
- Cache sorting to subdirectories
Installing and configuring
Add the following to your config file components
section:
Parameters
- string
webrootAlias
webroot folder path - string
cachePath
cache directory path in webroot folder - array
imageOptions
array with default output image options which will used by Imagine to save image
Usage
Parameters
- string
$file
required - Image file path - array
$params
image tools params Default: [] - mixed
$absolute
get absolute (true) url or not (false). Will use in Url::to() helper method
Available tools and parameters
Tools
You can add additional tools in config:
- 'crop' - tool name which will use in getUrl() or getPath() params
- Crop::class - tool class name which must implement yiicod\easyimage\base\ToolInterface
All versions of yii2-easyimage with dependencies
PHP Build Version
Package Version
The package yiicod/yii2-easyimage contains the following files
Loading the files please wait ....