-
Notifications
You must be signed in to change notification settings - Fork 10
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
Getting some warnings #14
Comments
Can you send the ico file this happens with? |
Not sure, is a cron process that handle hundred of icons. These errors are in the log file. I'm going to investigate. |
Ok, seems like some favicons are not ico or png files, but jpg or gif and this library does not handle these formats. I fixed it using this library only for ico files and gd functions for any other format. |
thanks for checking - I'll leave this issue open and either add support for loading jpg/gif or make it throw a more obvious exception |
Hi, thanks for this great library.
I'm getting some repetitive errors with some icons. Each time a icon fails, I get the following 5 warnings consecutively:
Maybe adding some conditions to avoid these errors or silence them with
@
and throw an exception would be very helpful.The text was updated successfully, but these errors were encountered: