Peter Pastoor Posted June 12, 2014 Share Posted June 12, 2014 (edited) Hello, I have a problem with 1.6.0.6. I'm trying to upload an image for a product. The following error i get: image.jpg : Image size not recognized, allowable sizes are: .gif, .jpg, .png It is already a .jpg and i have tried the other sizes too. I think it are the right but don't know for sure. Can somebody help me? Sorry for my English btw. Thnx! Edited June 14, 2014 by Peter Pastoor (see edit history) Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 13, 2014 Author Share Posted June 13, 2014 Can somebody help me? I can't get any further. Link to comment Share on other sites More sharing options...
csschopper.com Posted June 13, 2014 Share Posted June 13, 2014 Hi, You you please visit http://www.prestashop.com/forums/topic/9364-still-can%E2%80%99t-upload-any-gif-jpg-png-images-which-php-file-is-doing-the-check-can-be-corrupted-please-help/. Their some developers posted some ideas. May be any helps you. Regards, Alok http://csschopper.com Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 13, 2014 Author Share Posted June 13, 2014 I'm going to try that tomorrow. It is a OLS topic. Don't know if it is gonna work. Thank you. Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 13, 2014 Author Share Posted June 13, 2014 (edited) I couldn't wait. Tried it but can't find the code in amages.inc.php: if (function_exists('finfo_open')) { $finfo = @finfo_open(FILEINFO_MIME, "/etc/magic.mime"); $mime_type = @finfo_file($finfo, $file['tmp_name']); @finfo_close($finfo); } Edited June 13, 2014 by Peter Pastoor (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted June 13, 2014 Share Posted June 13, 2014 use this free module (phpinfo) http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then click configure, under tab info_configuraiton you can 'find' 'upload'. this way you can find out if your server is allowing uploads and if so how large. Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 13, 2014 Author Share Posted June 13, 2014 use this free module (phpinfo) http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then click configure, under tab info_configuraiton you can 'find' 'upload'. this way you can find out if your server is allowing uploads and if so how large. upload_max_filesize 32M 32M upload_tmp_dir no value no value Link to comment Share on other sites More sharing options...
El Patron Posted June 13, 2014 Share Posted June 13, 2014 scanning a 1.6.0.6 I can not find the error messages you have posted originally. this error message is coming out of catalog-->products-->edit product-->Add a new image to this product can you copy and paste the error message, maybe my scanning will be more successful. also check your permissions for folder img, what is it? Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 13, 2014 Author Share Posted June 13, 2014 It is dutch: afbeelding.jpg : Afbeeldingsformaat niet herkend, toegestane formaten zijn: .gif, .jpg, .png And the rights i have tried with 777 and 755/644 Link to comment Share on other sites More sharing options...
El Patron Posted June 13, 2014 Share Posted June 13, 2014 It is dutch: afbeelding.jpg : Afbeeldingsformaat niet herkend, toegestane formaten zijn: .gif, .jpg, .png And the rights i have tried with 777 and 755/644 go to back office-->localization-->translations-->(type of translation)Error Message translations-->English Flag (hopefully you have this) what is the exact English translation? Link to comment Share on other sites More sharing options...
El Patron Posted June 13, 2014 Share Posted June 13, 2014 TIP: when posting in the English forum make sure to post the English xlation of the error, it helps us single language (non-programming languages) to help better. here is the fix from PrestaShop http://forge.prestashop.com/browse/PSCSX-1944 please let us know how this works for you. el 1 Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 14, 2014 Author Share Posted June 14, 2014 go to back office-->localization-->translations-->(type of translation)Error Message translations-->English Flag (hopefully you have this) what is the exact English translation? Image format not recognized, allowed formats are: .gif, .jpg, .png TIP: when posting in the English forum make sure to post the English xlation of the error, it helps us single language (non-programming languages) to help better. here is the fix from PrestaShop http://forge.prestashop.com/browse/PSCSX-1944 please let us know how this works for you. el Going to try it now Link to comment Share on other sites More sharing options...
Peter Pastoor Posted June 14, 2014 Author Share Posted June 14, 2014 Yes it worked!!!! Thank you so much!! 1 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