{if $slider.images}
   <div class="product-slider">
      {foreach $slider.images as $image}
         <div class="slider-item">
            {if $image.link}
               <a href="{$image.link}"><img src="{get_photo photo=$image.photo size='slider'}" alt="{$image.description}" class="img-responsive"></a>
            {else}
               <img src="{get_photo photo=$image.photo size='slider'}" alt="{$image.description}" class="img-responsive">
            {/if}
         </div>
         {break}
      {/foreach}
   </div>
{else}
   <hr>
{/if}
