Daniel.Black Posted October 14, 2008 Share Posted October 14, 2008 For some reason, I can not upload .png image files. Every other type works but not those. Any ideas? Link to comment Share on other sites More sharing options...
Patric Posted October 14, 2008 Share Posted October 14, 2008 Where exactly ? Anywhere ? Link to comment Share on other sites More sharing options...
Daniel.Black Posted October 14, 2008 Author Share Posted October 14, 2008 Yes anywhere. I have tried product images and the home page editor and neither will allow me to upload .png files. Link to comment Share on other sites More sharing options...
Patric Posted October 14, 2008 Share Posted October 14, 2008 What is the problem ? An error ? Something else ? Link to comment Share on other sites More sharing options...
Daniel.Black Posted October 14, 2008 Author Share Posted October 14, 2008 File format not recognized Link to comment Share on other sites More sharing options...
sheza Posted November 28, 2009 Share Posted November 28, 2009 Daniel : Have you solved the problem ? coz i got the same problem : couldn't upload only png file. Link to comment Share on other sites More sharing options...
Housy Posted May 26, 2011 Share Posted May 26, 2011 Did anyone find a solution for this problem?I'm using PS 1.4.1 and can't upload images with .png extension, becuase of the error below.Error message -> "Image format not recognized, allowed formats are: .gif, .jpg, .png"Thanks,Housy Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted May 26, 2011 Share Posted May 26, 2011 Hi,This issue has been fixed for the upcoming 1.4.2 release. In the meantime you will find a workaround here: http://forge.prestashop.com/browse/PSCFI-1707 Link to comment Share on other sites More sharing options...
Housy Posted May 26, 2011 Share Posted May 26, 2011 Hi,This issue has been fixed for the upcoming 1.4.2 release. In the meantime you will find a workaround here: http://forge.prestashop.com/browse/PSCFI-1707 In the images.inc.php find isPicture function (line 128 in PS 1.4.1).Then change if (empty($mimeType) OR $mimeType == 'regular file')with if (empty($mimeType) OR $mimeType == 'regular file' OR $mimeType == 'text/plain')and you'll be able to upload PNG images.Thanks Thomas Housy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now