You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: