user2999752 user2999752 - 6 months ago 213
MySQL Question

In Which table Product image url stored in Prestashop

I want to find Product image url stored location in Prestashop Database.

Answer

Product image urls are not stored in database. The location is based on the id_image field of ps_image table.

An image having 1234 for id will be stored under /img/p/1/2/3/1234.jpg.

An image having 1514 for id will be stored under /img/p/1/5/1/1514.jpg.

I invite you to check /classes/Image.php and /classes/ImageManager.php for more informations.