Image Displayer - Url Rewrite Problem Fixed

Hi, i have changed line 141 from Image Displayer extension,

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 :P

Also added check modified date to allow image updates:

line 168


if (!file_exists($this->imageFile) or filemtime($this->imageFile)<filemtime($this->originalFile)) {