Knowledge Base

Get Expert Website Hosting

Choose website reliability and expertise with SiteGround!

Home / Other Applications / PrestaShop / How to fix the problem with uploaded images not showing in PrestaShop?

How to fix the problem with uploaded images not showing in PrestaShop?

Last update: Aug 07, 2025

The most common reason for this problem is that the pictures are being uploaded with incorrect permissions. As a result of this, the Apache service cannot access them correctly and returns a 403 error.

To resolve the issue, access your account via FTP or using File Manager in your Site Tools and find the images.inc.php file. Open the file and find the lines below:

imagedestroy($ressource);
return $flag;

On a new line just above them you should add:

chmod($filename, 0755);

After the change, the lines will look as follows:

chmod($filename, 0755);
imagedestroy($ressource);
return $flag;

This rule will change the permissions for the uploaded pictures to 755 and they will be properly displayed.

Share this article