CostaRico / yii2-images

Yii2-images - behavior-based module for resizing, storing, caching and attaching images.
160 stars 97 forks source link

Setting unknown property: rico\yii2images\Module::className #9

Open Maximilan4 opened 9 years ago

Maximilan4 commented 9 years ago

Hi, i got this error by using your module from example: 'yii2images' => [ 'class' => '\rico\yii2images\Module', 'imagesStorePath' => 'upload/images/store', //path to origin images 'imagesCachePath' => 'upload/images/cache', //path to resized copies 'graphicsLibrary' => 'Imagick', //but really its better to use 'Imagick' //'placeHolderPath' => '@webroot/images/placeHolder.png', // if you want to get placeholder when image not exists, string will be processed by Yii::getAlias //Class name to handle image storage in db 'className' => 'models/Image' ],

If i del string 'className', module works.

CostaRico commented 9 years ago

Just remove this option, sorry, now I have no time for development, Ill try to release new version in 1.5 month.