avtozakup, там зачем-то идет проверка на добавленность водяного знака, и если он не добавился, уменьшения изображения не происходит
$flag_success = Core_Image::instance()->addWatermark($small_image_target, $small_image_target, $watermark_file_path, $watermark_position_x, $watermark_position_y);
if ($flag_success)
{
$flag_success = Core_Image::instance()->resizeImage($small_image_target, $small_image_max_width, $small_image_max_height, $small_image_target, NULL, $small_image_preserve_aspect_ratio);
$flag_success
? @chmod($small_image_target, CHMOD_FILE)
: $small_image_created = FALSE;
должно быть так
Core_Image::instance()->addWatermark($small_image_target, $small_image_target, $watermark_file_path, $watermark_position_x, $watermark_position_y);
$flag_success = Core_Image::instance()->resizeImage($small_image_target, $small_image_max_width, $small_image_max_height, $small_image_target, NULL, $small_image_preserve_aspect_ratio);
$flag_success
? @chmod($small_image_target, CHMOD_FILE)
: $small_image_created = FALSE;