Open Jimmi08 opened 5 years ago
Now you can get only product img tag or image as link (a href)
I was able to do this this way:
if(!empty($parm['link'])) { $link = $this->tp->thumbUrl($path, $parm); if($parm['link'] === "src") { return $link; }
It's needed in store templates like this:
<a data-image="{ITEM_PIC: w=570&h=570&crop=1&item=0&link=src}" data-zoom-image="{ITEM_PIC: w=1200&h=1125&crop=1&item=0&link=src}"> <img src="{ITEM_PIC: w=90&h=90&crop=1&item=0&link=src}" alt="{ITEM_NAME}-1"> </a>
Thanks
Now you can get only product img tag or image as link (a href)
I was able to do this this way:
It's needed in store templates like this:
Thanks