Closed tpaksu closed 5 years ago
It turns out that it isn't related with image size, but it's caused by the missing mime types on the list:
// Resize
$is_image = [
'image/jpg',
'image/jpeg',
'image/pjpeg',
'image/png',
'image/x-png',
'image/gif',
'image/webp',
'image/x-webp'
];
I'll create a pull request with this.
Pushed this in #21
Thank you!
Hello,
I'm uploading images which have for example 1.5MB in size and 2560x1024 pixel dimensions. The script can't create thumbnails of it. Didn't check yet, but it works in smaller images. Did one of you experience and solve something about this issue?