Jump to content

Error "Image format not recognized"


Recommended Posts

I have version 1.5.0.17 and I'm trying to upload an image and i get:

"Image format not recognized, allowed formats are: .gif, .jpg, .png"

I've checked the permissions, for all folders are 777.

 

I'm barely starting using this software, and I'm already fustrated about it...

Link to comment
Share on other sites

Hi, try to hang on! I've been using Prestashop more or less successfully for 1,5years now, and mainly with each update this gets better and better. It's quite good in many ways, but sometimes you get quite frustrated with small things.

My tip is to try to play with something else for while and then return to that functionality (I have not enable "upload anything" with my prestashop, so don't know how to help you there) and usually someone here knows how to help and sometimes it's just a small thing that you've missed somewhere...

Link to comment
Share on other sites

I understand what you're trying to say.

But, this is a stupid error that as occurred in previous versions. Solutions for those, don't work on this one.

And most of all, i want to setup up my store asap. I have a deadline.

And even being free, I will have no option but to try alternatives...

Link to comment
Share on other sites

I have version 1.5.0.17 and I'm trying to upload an image and i get:

"Image format not recognized, allowed formats are: .gif, .jpg, .png"

I've checked the permissions, for all folders are 777.

 

I'm barely starting using this software, and I'm already fustrated about it...

Hi, try this

 

in /images.inc.php archive you must change this:

 

if (!isPicture($file))

return Tools::displayError(‘Image format not recognized, allowed formats are: .gif, .jpg, .png’);

 

to this:

//if (!isPicture($file))

// return Tools::displayError(‘Image format not recognized, allowed formats are: .gif, .jpg, .png’);

Link to comment
Share on other sites

I've already seen that possible solution somewhere, but thanks anyway.

 

The problem is that the file images.inc.php doesn't have any:

if (!isPicture($file))

only has something like:

function ispicture(...)

 

And the file only has functions...

Link to comment
Share on other sites

I've already seen that possible solution somewhere, but thanks anyway.

 

The problem is that the file images.inc.php doesn't have any:

if (!isPicture($file))

only has something like:

function ispicture(...)

 

And the file only has functions...

 

Yea, I just realized it myself. My hosting provider says that solution should be found in this topic http://www.prestashop.com/forums/topic/192374-no-product-images-after-upgrading-from-15017-to-151/

Link to comment
Share on other sites

×
×
  • Create New...