Adib Aroui
Adib Aroui

Reputation: 5067

Deleting a folder of product images other than img/p/ ? Prestashop

I take in charge the reconstruction of an old Prestashop website. I am a newbie with this CMS and its files structure is still not clear in my mind.

When I copied the website from the live server to my localhost, I have the size of the img folder equal to 4.5Gb, but I noticed that I have a folder with a name: p_old with 1.75 Gb size.

The folder p is 2.8Gb size. According Prestashop documentation, this folder is by default the place where Prestashop put the uploaded pictures for the products.

As you know, optimizing the hard space used by the website has many paybacks (upload time, hosting server quota..). However, I cannot delete the p_old folder without asking experts (I am afraid the files inside are still used somewhere in the website).What do you think about it?

Your usual help and time are so much appreciated. Thanks in advance.

Upvotes: 0

Views: 5208

Answers (1)

Butterback
Butterback

Reputation: 149

The p-old folder was manually named and/or renamed. PrestaShop hosts all of it's images in the img/p/ folder. Make sure to backup before any deletion. You should check your Preferences>Images and inspect the element of all pictures on the website to make sure it is all coming form the p folder and not the p-old folder.

Upvotes: 2

Related Questions