GWcode FileInfo
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Leon Dijk
PHP Error with .png images?
Support Request
Brainwrek
|
Posted: 16 February 2013 05:10 AM |
|
|
|
Hello Leon.
Thank you for making this plugin. Very useful!
But I’m wondering if anyone else has noticed a php error when trying to read PNG images?
The error I’m seeing is:
<h4>A PHP Error was encountered</h4>
<p>Severity: Notice</p> <p>Message: Undefined index: channels</p> <p>Filename: gwcode_fileinfo/pi.gwcode_fileinfo.php</p> <p>Line Number: 191</p>
It still seems to extract the width, height, and such OK, but the error is thrown every time. JPGs and GIFs do not seem to show the error.
|
|
|
Leon Dijk (GWcode)
|
Posted: 16 February 2013 05:36 AM |
# 1
|
|
Developer
|
Hi Brainwrek,
Thanks for reporting! I hadn’t noticed that before, but you are right..it showed the PHP notice here as well for PNG images. I’ve fixed the bug, feel free to download the new version from the site: http://gwcode.com/add-ons/gwcode-fileinfo
Thanks again!
Leon
|
|
|