Jump to content

Product customisation - upload image not displayed


Recommended Posts

Hi
I'm using the Prestshop 1.7.6.5. For some products, I activatet the "product customisation" with the file upload.

Now, when the customer is uploading an image, the image will not shown. Same effect in back office at order-administration.
Do anybody has an idea, whats the reason for? (view an html-code see attached image)

Thanks for your help

product-customisation_image.png

Link to comment
Share on other sites

On 11/10/2020 at 9:17 AM, JBW said:

Check the file/directory permission of the /upload/ folder on your server

Thank you for your reply. I think it's not the permission. The files are correctly uploaded to the "upoload" folder. Are also accessible with ftp-client - the full version and also the _small-version.

I think, the problem is the content-type. The uploaded image file will be loaded as "content-type: text/html" (see attachment).

Do you know, how to configure it to content-type image?

wrong_content_type_of_upload_image.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...