chicaneparts Posted June 6, 2014 Share Posted June 6, 2014 (edited) Hello, I getting this error(img1) error during imageupload and i get a questionmark instead of the image. In all modules and it was working fine before. so i did a fresh install of prestashop 1.6 and tried it right away and still the same error.... What happend because it works just fine before. I get this error in all modules (theme configurator, Image Slidebar etc.) I added some images to this post with the error but the text is in dutch. Error in all prestashop versions 1.5/1.6 Other webshop platforms i dont have any problems uploading images. It worked till a few days ago.... image format not recognized allowed formats are .gif .jpg .png solution is in reply #16 - http://www.prestashop.com/forums/topic/335789-solved-upload-images-error-image-format-not-recognized-allowed-formats-are-gif-jpg-png/?do=findComment&comment=1698739 Edited June 9, 2014 by chicaneparts (see edit history) Link to comment Share on other sites More sharing options...
garugn Posted June 6, 2014 Share Posted June 6, 2014 I had the same problem earlier. My solution to my problem was to resize the picture. I had the size as 3000x2000 and I set it to 700x1022 or vise versa depending on your orientation. Play around with the resizing. Link to comment Share on other sites More sharing options...
chicaneparts Posted June 6, 2014 Author Share Posted June 6, 2014 I had the same problem earlier. My solution to my problem was to resize the picture. I had the size as 3000x2000 and I set it to 700x1022 or vise versa depending on your orientation. Play around with the resizing. I used the exact same size as the default images so thats not it. Link to comment Share on other sites More sharing options...
vekia Posted June 6, 2014 Share Posted June 6, 2014 what about other part of shop? for example slider, are you able to upload pictures there? Link to comment Share on other sites More sharing options...
chicaneparts Posted June 6, 2014 Author Share Posted June 6, 2014 (edited) no the slider wont work either sadly there i get a error that the image format needs to be jpg, gif or png and my image that worked before is jpg.... Edited June 6, 2014 by chicaneparts (see edit history) Link to comment Share on other sites More sharing options...
chicaneparts Posted June 6, 2014 Author Share Posted June 6, 2014 (edited) this is very strange i just did a fresh install of prestashop but i still get this error didn't mesh with anything did the isntall and went straight to the modules same error...... Also its not only the modules its on all upload images in prestashop.... Edited June 6, 2014 by chicaneparts (see edit history) Link to comment Share on other sites More sharing options...
chicaneparts Posted June 6, 2014 Author Share Posted June 6, 2014 well i installed PS 1.5.6.2 and even there i got this error what is this? Can someone help me out with this? Link to comment Share on other sites More sharing options...
garugn Posted June 6, 2014 Share Posted June 6, 2014 Some topics about this maybe: http://www.prestashop.com/forums/topic/335572-iam-not-able-to-upoad-product-images-i-tried-small-sizes-and-pnj-and-jpg-and-different-formats/?hl=%2Bimage+%2Bsize http://www.prestashop.com/forums/topic/329373-solved-abc1234jpg-an-error-occurred-while-copying-image-check-your-memory-limit/?hl=%2Berror+%2Boccurred+%2Bwhile+%2Bcopying+%2Bimage%2C+%2Bcheck+%2Byour+%2Bmemory+%2Blimit&do=findComment&comment=1677809 http://www.prestashop.com/forums/topic/317154-images-not-showing/ Link to comment Share on other sites More sharing options...
chicaneparts Posted June 6, 2014 Author Share Posted June 6, 2014 Some topics about this maybe: http://www.prestashop.com/forums/topic/335572-iam-not-able-to-upoad-product-images-i-tried-small-sizes-and-pnj-and-jpg-and-different-formats/?hl=%2Bimage+%2Bsize http://www.prestashop.com/forums/topic/329373-solved-abc1234jpg-an-error-occurred-while-copying-image-check-your-memory-limit/?hl=%2Berror+%2Boccurred+%2Bwhile+%2Bcopying+%2Bimage%2C+%2Bcheck+%2Byour+%2Bmemory+%2Blimit&do=findComment&comment=1677809 http://www.prestashop.com/forums/topic/317154-images-not-showing/ Thanks for the reply but thats not the solution for my problem i already searched the forums but nothing worked sadly..... Link to comment Share on other sites More sharing options...
chicaneparts Posted June 7, 2014 Author Share Posted June 7, 2014 Nobody? i already tried some other webshop platforms and there the image upload works. so why wont it work in prestashop like a week ago it worked greated on 1 day it gave me this error on the entire backoffice..... image format not recognized allowed formats are .gif .jpg .png Please someone help me out with this because i cant do nothing now with prestashop Link to comment Share on other sites More sharing options...
chicaneparts Posted June 8, 2014 Author Share Posted June 8, 2014 Well thanks for all the help and lots of reply's....... I found the problem myself so this is solved few bad lines in imagemanager.php Link to comment Share on other sites More sharing options...
garugn Posted June 8, 2014 Share Posted June 8, 2014 Hey man I tried I tried lol haha. However it must of been whole lot of brain busting to had to figure it out it was a couple of lines....... Anyways good luck in your project!!!! 1 Link to comment Share on other sites More sharing options...
gavz Posted June 9, 2014 Share Posted June 9, 2014 Well thanks for all the help and lots of reply's....... I found the problem myself so this is solved few bad lines in imagemanager.php I'm having the same problem. Can you please advise what I need to change? Thank you 1 Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 Well thanks for all the help and lots of reply's....... it was weekend... 1 Link to comment Share on other sites More sharing options...
Cyburg Posted June 9, 2014 Share Posted June 9, 2014 Well thanks for all the help and lots of reply's....... I found the problem myself so this is solved few bad lines in imagemanager.php Hi Chicaneparts, I am having the same problem. could you please let me know which lines you edited in imagemanager.php, and what specific changes you made? Cheers, Paul Link to comment Share on other sites More sharing options...
chicaneparts Posted June 9, 2014 Author Share Posted June 9, 2014 I'm having the same problem. Can you please advise what I need to change? Thank you Hi Chicaneparts, I am having the same problem. could you please let me know which lines you edited in imagemanager.php, and what specific changes you made? Cheers, Paul I attach the file that i changed hope it works for you guys Also make a backup of the original imagemanager.php incase it didnt work for you. Also this only works for the "image format not recognized allowed formats are .gif .jpg .png error" Works for 1.5 and 1.6 prestashop. Upload it to "your-site.com/classes/ImageManager.php" ImageManager.php 3 Link to comment Share on other sites More sharing options...
gavz Posted June 11, 2014 Share Posted June 11, 2014 I attach the file that i changed hope it works for you guys Also make a backup of the original imagemanager.php incase it didnt work for you. Also this only works for the "image format not recognized allowed formats are .gif .jpg .png error" Works for 1.5 and 1.6 prestashop. Upload it to "your-site.com/classes/ImageManager.php" Thank you for the attachment. After uploading it I'm not getting to following error "Error while uploading image; please change your server's settings. (Error code: 6)". IF some one could offer some advise that would be great, thank you. Link to comment Share on other sites More sharing options...
gavz Posted June 11, 2014 Share Posted June 11, 2014 Thank you for the attachment. After uploading it I'm not getting to following error "Error while uploading image; please change your server's settings. (Error code: 6)". IF some one could offer some advise that would be great, thank you. I've managed to restore image uploading by combining you fix with disabling "php5.ini" / making it a .bak file. Link to comment Share on other sites More sharing options...
gavz Posted June 11, 2014 Share Posted June 11, 2014 I've managed to restore image uploading by combining you fix with disabling "php5.ini" / making it a .bak file. It seems tis solution only lasted a moment. I'm receiving "Error code: 6" again. Any advise would be great appreciated! Link to comment Share on other sites More sharing options...
chicaneparts Posted June 11, 2014 Author Share Posted June 11, 2014 It seems tis solution only lasted a moment. I'm receiving "Error code: 6" again. Any advise would be great appreciated! I changed the file maybe this works for you. Upload here: "your-site.com/classes/ImageManager.php" if its not working for you maybe its a serverside thing did you got the permissions right in the ftp? ImageManager.php 1 Link to comment Share on other sites More sharing options...
gavz Posted June 12, 2014 Share Posted June 12, 2014 I changed the file maybe this works for you. Upload here: "your-site.com/classes/ImageManager.php" if its not working for you maybe its a serverside thing did you got the permissions right in the ftp? Thank you, images are now uploading but it's creating incorrect file names, for example: "2120-home_default.jpg.gif". The ".gif" should not be there? Thank you Link to comment Share on other sites More sharing options...
El Patron Posted June 13, 2014 Share Posted June 13, 2014 for 1.6 pre 1.6.0.7 see: http://forge.prestashop.com/browse/PSCSX-1944 Link to comment Share on other sites More sharing options...
pangolin23 Posted June 27, 2014 Share Posted June 27, 2014 I attach the file that i changed hope it works for you guys Also make a backup of the original imagemanager.php incase it didnt work for you. Also this only works for the "image format not recognized allowed formats are .gif .jpg .png error" Works for 1.5 and 1.6 prestashop. Upload it to "your-site.com/classes/ImageManager.php" thanks friend. I could solve the problem with your file. I was going crazy!.) 1 Link to comment Share on other sites More sharing options...
coventrycampers Posted August 29, 2014 Share Posted August 29, 2014 thanks this solved the initial problem for me, but now reports Missing a temporary folder but a step along the way now! Link to comment Share on other sites More sharing options...
lateral Posted August 31, 2014 Share Posted August 31, 2014 El Patron Are you saying to upgrade to 1.6.0.7 and that will fix the issue? I have the problem is both 1.6.0.6 and 1.6.0.9..... Regards Greg Link to comment Share on other sites More sharing options...
El Patron Posted August 31, 2014 Share Posted August 31, 2014 El Patron Are you saying to upgrade to 1.6.0.7 and that will fix the issue? I have the problem is both 1.6.0.6 and 1.6.0.9..... Regards Greg I was think 'then' they might be helpful for previous versions. If you still have issue then it may very well be permission, hosting or other issue. Most times it's better to open new topic and/or open forge report. I hope you the best. Link to comment Share on other sites More sharing options...
lateral Posted August 31, 2014 Share Posted August 31, 2014 Thanks Link to comment Share on other sites More sharing options...
DomiCiel Posted October 20, 2014 Share Posted October 20, 2014 (edited) Hi, Always the same problem here (vrs 1.6.0.9), I have uploaded the ImageManager.php provided by chicaneparts, the file is uploaded correctly (no more error message) but the picture is white, nothing is displayed. prestashop propose the following image if I hover over the picture : /img/p/1/1.jpg but if I browser this directory (on the server) there is no 1.jpg file ! any idea ? thanks in advance, Domi. Edited October 20, 2014 by DomiCiel (see edit history) Link to comment Share on other sites More sharing options...
alienhead Posted October 27, 2014 Share Posted October 27, 2014 I tried the fix. It cause a new error string Error while uploading image; please change your server's settings. (Error code: Missing temporary folder) There is no php5.ini to rename. I did try changing the version of php from 5.3, 5.4, 5.5. the only one that did not break the site was 5.4 native. Not sure what to do now. Any thoughts? Link to comment Share on other sites More sharing options...
MFarhan Posted December 5, 2014 Share Posted December 5, 2014 Hello I am using Prestashop 1.6.09. i am having the same problem. i was uploading my products on daily bases. while i was uploading a new product pic, suddenly i received this message. 154LN1...jpg : Image format not recognized, allowed formats are: .gif, .jpg, .png . i am struck now. i tried imagemanager.php file from above link, but it didn't work. kindly someone help me with this. i have to upload my products on daily basis. 1 Link to comment Share on other sites More sharing options...
sistigmedia Posted January 23, 2015 Share Posted January 23, 2015 I attach the file that i changed hope it works for you guys Also make a backup of the original imagemanager.php incase it didnt work for you. Also this only works for the "image format not recognized allowed formats are .gif .jpg .png error" Works for 1.5 and 1.6 prestashop. Upload it to "your-site.com/classes/ImageManager.php" Thank you sooo much! Looking since weeks for a soluttion!! It works!!!! Link to comment Share on other sites More sharing options...
snagadeal1 Posted March 21, 2015 Share Posted March 21, 2015 I created my shop with 1.6.11 and recently updated to 1.6.14 and added a few purchased mods from addons. I was not having a problem uploading images before. When I try to uplaod a picture anywhere in the site i am receiving : Image format not recognized, allowed formats are: .gif, .jpg, .png I have tried every type of image format and size nothing will allow me to upload a img. I tried to replace imagemanager.php with the above download to see if it was a fix for me. now I am getting error. Missing temporary folder I have tried disable all new mods added and made all image folders writable (not really sure what is the best setting for image folders) I read somewhere here that it could be a server issue but no info about what I could check on. Its hosted with godaddy please if anybody has any suggestions of things I can check or had a problem like this please let me know. 1 Link to comment Share on other sites More sharing options...
Marty70 Posted April 10, 2015 Share Posted April 10, 2015 Believe it or not I have the same problem when using Firefox 36.0.4 but NOT when using Chrome (41.0.2272.118). Link to comment Share on other sites More sharing options...
swadesh Posted July 25, 2015 Share Posted July 25, 2015 I'm find same problem. but I fix the problem Please check php version select php 5.6 with mySQLi extension Link to comment Share on other sites More sharing options...
jsnetors Posted July 30, 2015 Share Posted July 30, 2015 No solution working here, I tried everything in this topic but am still getting the same error. It looks like these bugs started popping after I turned on the optimization settings, but they didn't reverse back when I unselected them. Link to comment Share on other sites More sharing options...
tasve Posted September 6, 2015 Share Posted September 6, 2015 I also have the same problem. I have a fresh install of 1.6.1.1 I have re-installed it 5 times now and tried different things. File premissions, changing ImageManager.php but then i just get ; "Error while uploading image; please change your server's settings. (Error code: Missing temporary folder)" Also set my PHP version from 5.5 native to 5.6. Nothing works. Could it be something with chmod? I have tried 755 on folders, and 655 on files. Also 755 and 775 on everything. When i install, i have to chmod the files in "install" folder (index.php and others) or else i can't install. I have to set them to 755. After install, i have to do the same thing with root (index.php and others), set to 755. Is there anyone that had this problem but fixed them. As i said, i have tried most things that i can google about this problem. This also affects that i can't change logo on front page. 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