first commit
This commit is contained in:
22
web/templates/elnino/product/product.photo.tpl
Normal file
22
web/templates/elnino/product/product.photo.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="sticky" data-gallery-wrapper>
|
||||
{if $body.product.image}
|
||||
<a href="{get_photo photo=$body.product.image size=0}" title="{$body.product.title}" class="img-overlay"
|
||||
data-rel="gallery" data-src="variation-main-image" data-img-loader>
|
||||
{$photo_dimensions = $cfg.Photo.types['product_detail'].size}
|
||||
<img src="{get_photo photo=$body.product.image size='product_detail'}" alt="{$body.product.title}" class="img-responsive"
|
||||
width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}" data-src="variation-image">
|
||||
</a>
|
||||
{else}
|
||||
<a title="{$body.product.title}" class="img-overlay" data-rel="gallery" data-src="variation-main-image">
|
||||
<img src="{get_photo photo=0 size=3}" alt="{$body.product.title}" class="img-responsive" data-src="variation-image">
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
<div class="product-others-photos row" style="display: none;"></div>
|
||||
|
||||
<div class="more-photos" data-photos-more="wrapper">
|
||||
<a href="#" class="btn btn-link" style="display: none;" data-photos-more="360" data-rel="gallery" data-type="video"><span class="fc icons_360"></span> 360°</a>
|
||||
<a href="#" class="btn btn-link" style="display: none;" data-photos-more="video" data-type="video"><span class="fc icons_video"></span>{t}Video{/t}</a>
|
||||
<a href="#" class="btn btn-link last" style="display: none;" data-photos-more="btn"><span class="fc icons_photo"></span> {t}Galerie{/t} (<span data-photos-more="count"></span>)</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user