php-image-cache icon indicating copy to clipboard operation
php-image-cache copied to clipboard

JPG (.jpg) not working

Open ibnbd opened this issue 10 years ago • 0 comments

I am trying your class with JPG file getting lot of errors

first was "The file you supplied isn't a valid image."

Then I commented the if condition just to check, then got "The image you supply must have a .gif, .jpg/.jpeg, or .png extension." Then I checked "$file_mime_as_ext" and it dump "octet-stream" for jpg file. I know it's some kind of mime problem. Any idea how to fix it?

Thanks in advance

ibnbd avatar Dec 22 '15 08:12 ibnbd