cancel
Showing results for 
Search instead for 
Did you mean: 

Error uploat image product: "Disalollowed file format."

Error uploat image product: "Disalollowed file format."

I trying to upload an image, to the product but we have said error: "Disalollowed file format."

 

it's a jpg, I don't understand it.

 

Can someone help me?

 

Thanks

3 REPLIES

Re: Error uploat image product: "Disalollowed file format."

Is the image larger than the maximum allowed image dimensions configured in your store? Seems like someone else had this problem on stackexchange: https://magento.stackexchange.com/a/141991/26

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Error uploat image product: "Disalollowed file format."

Hello, thank you for answering.

 

The image has dimensions of 600px x 400px, the maximum size is 1200px.

 

It seems that this is not the problem.

 

 

Re: Error uploat image product: "Disalollowed file format."

As far as I can see from searching it is the only line in the Magento codebase to throw this exception so it does appear to be a dimension problem:

 

https://github.com/OpenMage/magento-mirror/blob/505e8e982ad5f4fd22005060564cad210aab7b6f/app/code/co...

 

Could you check there isn't a different configuration setting on a different store view? Otherwise, I would start inspecting the request as it goes through that function and condition. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!