diff --git a/src/Module/Slider.php b/src/Module/Slider.php index f22653c..a27b7d8 100644 --- a/src/Module/Slider.php +++ b/src/Module/Slider.php @@ -221,7 +221,7 @@ protected function compile() foreach ($images as $key => $image) { $newImage = new \stdClass(); $image['size'] = isset($this->imgSize) ? $this->imgSize : $this->size; - $this->addImageToTemplate($newImage, $image); + $this->addImageToTemplate($newImage, $image, null, null, \FilesModel::findByPk($image['id'])); if ($this->rsts_navType === 'thumbs') { $newImage->thumb = new \stdClass; $image['size'] = $this->rsts_thumbs_imgSize;