Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPG (.jpg) not working #23

Open
ibnbd opened this issue Dec 22, 2015 · 0 comments
Open

JPG (.jpg) not working #23

ibnbd opened this issue Dec 22, 2015 · 0 comments

Comments

@ibnbd
Copy link

ibnbd commented Dec 22, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant