diff --git a/library/attach_mod/includes/functions_thumbs.php b/library/attach_mod/includes/functions_thumbs.php index bc33bd9b..dd4a951e 100644 --- a/library/attach_mod/includes/functions_thumbs.php +++ b/library/attach_mod/includes/functions_thumbs.php @@ -180,9 +180,6 @@ function create_thumbnail($source, $new_file, $mimetype) imagecopyresampled($new_image, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height); } - // Устанавливаем тип содержимого в заголовок - header('Content-Type: ' . $mimetype); - switch ($type['format']) { case IMG_GIF: