|
@ -79,7 +79,10 @@ abstract class Upload |
|
|
. ' ' . self::getFilePath($image_variant)); |
|
|
. ' ' . self::getFilePath($image_variant)); |
|
|
ob_clean(); |
|
|
ob_clean(); |
|
|
} |
|
|
} |
|
|
if ($image->getWatermark($size) && Config::get('PYTHON_PIL_PASTE')) { |
|
|
|
|
|
|
|
|
if (Config::get('PYTHON_PIL_PASTE') && |
|
|
|
|
|
function_exists(array($image, 'getWatermark')) && |
|
|
|
|
|
$image->getWatermark($size) |
|
|
|
|
|
) { |
|
|
$script_file_path = Config::get('PYTHON_PIL_PASTE')->script_file_path; |
|
|
$script_file_path = Config::get('PYTHON_PIL_PASTE')->script_file_path; |
|
|
$pil_options = (isset(Config::get('PYTHON_PIL_PASTE')->pil_options) && Config::get('PYTHON_PIL_PASTE')->pil_options) ? ' ' . implode(' ', Config::get('PYTHON_PIL_PASTE')->pil_options) : ''; |
|
|
$pil_options = (isset(Config::get('PYTHON_PIL_PASTE')->pil_options) && Config::get('PYTHON_PIL_PASTE')->pil_options) ? ' ' . implode(' ', Config::get('PYTHON_PIL_PASTE')->pil_options) : ''; |
|
|
ob_start(); |
|
|
ob_start(); |
|
|