D
D
Denis Verbin2017-07-06 21:09:45
Prestashop
Denis Verbin, 2017-07-06 21:09:45

How to get path to retina (2x) images in Prestashop?

Recreated 2x images for products, but only regular images are displayed.
Images are output by the following code

src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}"

How to modify it correctly to get the path to double resolution images, which are available at 1234-home_default2x/product.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question