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

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 can not access them correctly and returns a 403 error.

The solution is simple. You need to access your account via FTP or using File Manager in cPanel and find theimages.inc.php file. Then open the file and find the lines below:

 

 

On a new line just above them you should add:

 

 

After the change, the lines should look as follows:

 

 

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

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to set OpenCart to use SMTP

By default, the PHP mail() function is used for sending emails from the OpenCart application. To...

How to clear the cache in Prestashop

When making changes in Prestashop they will often not appear right away due to old cached...

How to configure Prestashop to work with another domain

Prestashop, like many other applications out there, works based on a domain name. In case you...

How to enable SEO/SEF links in Opencart?

You can enable the SEO/SEF feature in Opencart through the admin area > System > Settings...

How to change the quality of the PrestaShop products’ images?

The PrestaShop script (starting from version 1.4.4.1) allows the application administrator to...