niekachu Posted June 8, 2014 Share Posted June 8, 2014 Hi there, I'm using prestashop 1.6 and since a couple of days i can't upload any jpg or gif images to the categories or products anymore. the message wich appears is: format isnt recognized, it should be gif, jpg or png. but i know 100% for sure that it is a jpg. Hope somebody can help here. Regards, Niek Link to comment Share on other sites More sharing options...
Boris132 Posted June 8, 2014 Share Posted June 8, 2014 I can't upload product images. I'm using Prestashop 1.6.0.6 I click on "Add files" button and nothing happens. 2 Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 Hi there, I'm using prestashop 1.6 and since a couple of days i can't upload any jpg or gif images to the categories or products anymore. the message wich appears is: format isnt recognized, it should be gif, jpg or png. but i know 100% for sure that it is a jpg. Hope somebody can help here. Regards, Niek in other parts of shop you can upload this picture easily? 1 Link to comment Share on other sites More sharing options...
niekachu Posted June 9, 2014 Author Share Posted June 9, 2014 hi there, no i cant upload the image to any part of the system. i just tried to upload an image wich i already have on my site. and that also doesnt work. so i think its an overall problem. hope you can help here. regards Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 can you check permissions for /img/p/ directory ? (images for products in this case) it must be writable, recursively writable Link to comment Share on other sites More sharing options...
Electornicdudes Posted June 9, 2014 Share Posted June 9, 2014 Got the same issue.Permissions are all fine, any other fixes?I appear only to be able to upload images for 6 of my items. Link to comment Share on other sites More sharing options...
vekia Posted June 9, 2014 Share Posted June 9, 2014 hello you mean that you can upload pictures to 6 products, but for rest not? 1 Link to comment Share on other sites More sharing options...
Boris132 Posted June 10, 2014 Share Posted June 10, 2014 in "/img/p/" directory I made it writable for groups and now it is ok. Numeric value is 775. Will I have to change this permission back when I'm finished uploading images? Link to comment Share on other sites More sharing options...
niekachu Posted June 10, 2014 Author Share Posted June 10, 2014 Hi Vekia, The permissions are all set correctly. i also tried the comment BORIS 123 gave us (see above here) This also doesnt change anything. i still see a comment saying that prestashop doesnt recognized the format. Maybe some other options i can try? Regards, Niek Link to comment Share on other sites More sharing options...
florianoverkamp Posted July 14, 2014 Share Posted July 14, 2014 Hi All, I seem to have the same problem. The setup is Prestashop 1.6.0.8 and I cannot upload images, it will complain that the format is not recognized. I've verified that the following is in order: - The relevant fixes from PSCSX-1944 seem to be in place in the code (expected, since it came from a 1.6.0.8 archive) - Webserver is running PHP as a module, not as CGI or FastCGI - PHP is allowed to upload files - Webserver has ownership and permissions in place to write in the img/ directory and the img/p/ directory (including creating new subdirectories) - Images concerned are not too large (tried a 3MB file but also a scaled 250k version) - Images do not have 'complex' characters in filename, i.e. spaces, etc Any ideas on where to look are appreciated. Florian Link to comment Share on other sites More sharing options...
Spemon Posted August 6, 2014 Share Posted August 6, 2014 I have the same problem... Things worked OK in early versions however it stopped from around v1.5.6.0 or thereabouts when "Image slider for your homepage" module was introduced. I recall, that instantly didn't allow to change or upload photos. In my case, when "Add files" button is clicked, nothing happens. It doesn't even bring up the list of files from my local computer. Therefore, this is nothing to do with server side or permission settings of it. After doing various tests, I discovered this was due to the browser. Certain browsers will not handle the new file adding system introduced at around v1.5.6.0 or shortly thereafter (sorry, I cannot remember the exact version but drastic change was introduced at around that time). The browsers in question in my case are: Safari for Mac 4.1.3 (latest being 7.0.5) Firefox for Mac 3.6.28 (latest being 31) Both of which shows the symptom described as above. Due to the age of hardware used, these are the latest versions of browsers that will run on our machines and replacing the hardware is out of question for my client. However, when a different browser, Omniweb 5.11.2 for Mac is used, it handled everything fine, because this is one of the latest range of browsers that would run on older hardware. OK, in my case I managed to find a work around however, it would be nice for the prestashop developer to cater for older browsers, or at least detect older browsers running to switch the file uploading feature to a more basic type. After all, even eBay's file uploading system caters of older browsers, allowing user to switch between "Basic" or "Advance" uploaders. At the end of the day, when someone tries Prestashop using older browsers and unable to upload files, they will simply walk away and use some other platforms and that would be a shame as Prestashop offers so much. Link to comment Share on other sites More sharing options...
elnazj Posted December 15, 2014 Share Posted December 15, 2014 (edited) Hi! I am having issues uploading images too. Using a mac, and google chrome - I am unable to upload jpg images which have been saved for web (products that I had images taken in my own studio). The sizes are less than 300 kb. I tried using a different computer (Windows and Chrome, was able to upload images from the Windows computer without issue (as long as they were less than 400 kb - any bigger and they wouldn't work (presta shop said size limit exceeded) on Windows (even though still smaller than 800kb upper limit) Then, I had images provided to me by another company (for products I am drop shipping - and as such did not shoot the images for) and they were jpg and alll different sizes (up to 500 kb) and all uploaded successfully from the mac. Then I went back to the Windows comp to add a few extra images which had been missed accidentally (taken in my own studio)- and was only able to upload 1 of the several images I tried uploading each time)... Before however this was not an issue uploading on this Windows computer. I have tried saving for web, saving normally, with colour embedding, without colour embedding. I have no idea why they aren't working. The same images I then send to my web developer - and he uploads them without issue! Some one please help this is driving me insane!! Thanks in advance Edited December 15, 2014 by elnazj (see edit history) 1 Link to comment Share on other sites More sharing options...
Spemon Posted December 15, 2014 Share Posted December 15, 2014 Just wondering if the file name has any 'spaces' or unusual characters including dot '.' or slash '/' etc.? Trying with those removed obviously apart from the last dot which the file extension follows. Link to comment Share on other sites More sharing options...
elnazj Posted December 15, 2014 Share Posted December 15, 2014 Yes - hyphens. However they have always been present...the same hyphenated images uploaded successfully a few weeks ago onto the site via Windows and Chrome. Also, I forgot to mention that when i upload via mac, one of the images (i usually try and upload 4 or 5 per prduct in one hit) works. The rest remain question marks. Thanks Link to comment Share on other sites More sharing options...
elnazj Posted December 15, 2014 Share Posted December 15, 2014 and just to make sure it wasn't a possible cause i removed the hyphen, and was still unsuccessfully - again getting red bar and exclamation mark with no error message in particular.. :S Link to comment Share on other sites More sharing options...
Spemon Posted December 15, 2014 Share Posted December 15, 2014 That's a tough one... The file name is not extremely long or anything? Is your Mac set to hide the file extension in the Finder? If so, try with that disabled i.e. show the full file extension and see it works? I have seen cases where file extension was hidden and the file name was something like xxxxxx.jpg.bmp and that threw the system. Best to keep it simple to xxxx.jpg. Link to comment Share on other sites More sharing options...
elnazj Posted December 15, 2014 Share Posted December 15, 2014 Hi, No unfortunately thats not the case, extensions are in full view Link to comment Share on other sites More sharing options...
Spemon Posted December 15, 2014 Share Posted December 15, 2014 Hmmm, sorry that's all I can think of at the moment. Perhaps others might have a better ideas... Link to comment Share on other sites More sharing options...
Recommended Posts