Revert "Update functions_thumbs.php"

This reverts commit b43a521488.
This commit is contained in:
Roman Kelesidis 2023-12-23 13:24:46 +07:00
parent b43a521488
commit a84dee60e1

View File

@ -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: