imagePath
function, since version 1.0.0
categories: image, product, prestashop
imagePath(imageId)
returns file path to product image with id imageId
parameters
- imageId: number - image id
return type:
string
example
imagePath(23)
could return (depends on your hosting)
/var/www/html/img/p/2/1/21.jpg