-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Filemanager crashes because Image has recognized format #1116
Comments
@ausi Is this suited to fix the problem? |
Yes, I think it is. We should probably catch all exceptions that implement the |
|
I failed to reproduce the issue with an image I broke myself. @biwerr Can you please provide an example image? |
|
@ausi pointed out that |
|
Fixed in c755176. |
September 28th, 2017, 16:13 GMT
Filemanager fails if there are problems with Imageresizing. I've uplaoded serveral images via FTP. After that Contao Filemanager throws an RuntimeException with missleading Exception Message "Unable to open image".
The real Problem was "Warning: imagecreatefromstring(): Data is not in a recognized format" in Imagine Library which was return by the function
imagecreatefromstringTrace:
Maybe a fix could be wrapping
executeResizein try catch block the prevent Contao Filemanager from crashingThe text was updated successfully, but these errors were encountered: