php-image-cache
php-image-cache copied to clipboard
JPG (.jpg) not working
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