In order to fix src path (in html) for those who hide index.php (and browser is not able to interpret the path).
$this->src = Yii::app()->baseUrl.'/'.$this->baseDir . '/'. $imageFolder . '/' . $this->image;
Hope useful for someone
Posted 11 February 2013 - 01:50 PM
$this->src = Yii::app()->baseUrl.'/'.$this->baseDir . '/'. $imageFolder . '/' . $this->image;
Posted 11 February 2013 - 02:34 PM
if (!file_exists($this->imageFile) or filemtime($this->imageFile)<filemtime($this->originalFile)) {