diff --git a/controllers/admin/AdminScenesController.php b/controllers/admin/AdminScenesController.php index 9bc5f139a..77a0bfdbd 100644 --- a/controllers/admin/AdminScenesController.php +++ b/controllers/admin/AdminScenesController.php @@ -204,12 +204,14 @@ class AdminScenesControllerCore extends AdminController $this->fields_form = $fields_form; $image_to_map_desc = ''; - $image_to_map_desc .= $this->l('Format:').' JPG, GIF, PNG. '.$this->l('File size:').' ' + $image_to_map_desc .= '
'.$this->l('Format:').' JPG, GIF, PNG. '.$this->l('File size:').' ' .(Tools::getMaxUploadSize() / 1024).''.$this->l('Kb max.').' ' .sprintf($this->l('If an image is too large, it will be reduced to %1$d x %2$dpx (width x height).'), $large_scene_image_type['width'], $large_scene_image_type['height']) .$this->l('If an image is deemed too small, a white background will be added in order to achieve the correct image size.').'
'. - $this->l('Note: To change image dimensions, please change the \'large_scene\' image type settings to the desired size (in Back Office > Preferences > Images).'); + $this->l('Note: To change image dimensions, please change the \'large_scene\' image type settings to the desired size (in Back Office > Preferences > Images).') + .'
'; + if ($obj->id && file_exists(_PS_SCENE_IMG_DIR_.$obj->id.'-scene_default.jpg')) { $this->addJqueryPlugin('autocomplete');