fix image resolution
This commit is contained in:
@@ -17,9 +17,7 @@
|
|||||||
{loop name="product_thumbnail" type="image" product=$ID width="{$width}" height="{$height}" resize_mode="borders" limit="1"}
|
{loop name="product_thumbnail" type="image" product=$ID width="{$width}" height="{$height}" resize_mode="borders" limit="1"}
|
||||||
<img itemprop="image" src="{$IMAGE_URL}" alt="Product #{$LOOP_COUNT}">
|
<img itemprop="image" src="{$IMAGE_URL}" alt="Product #{$LOOP_COUNT}">
|
||||||
{/loop}
|
{/loop}
|
||||||
{elseloop rel="product_thumbnail"}
|
|
||||||
{images file="../assets/img/{$width}x{$height}.png"}<img itemprop="image" src="{$asset_url}" alt="Product #{$LOOP_COUNT}">{/images}
|
|
||||||
{/elseloop}
|
|
||||||
<span class="mask"></span>
|
<span class="mask"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
{ifloop rel="product_list"}
|
{ifloop rel="product_list"}
|
||||||
<ul class="product-col-3">
|
<ul class="product-col-3">
|
||||||
{loop type="product" name="product_list" title="{$smarty.get.q}" limit=$limit page=$product_page order=$product_order}
|
{loop type="product" name="product_list" title="{$smarty.get.q}" limit=$limit page=$product_page order=$product_order}
|
||||||
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="218" height="146"}
|
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="369" height="247"}
|
||||||
{assign "products_count" $LOOP_TOTAL}
|
{assign "products_count" $LOOP_TOTAL}
|
||||||
{/loop}
|
{/loop}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user