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?
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
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.
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:
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.