Ignore:
Timestamp:
Sep 2, 2014, 3:24:02 PM (10 years ago)
Author:
JanisV
Message:

Updated Fotorama to 4.6.2. Fixed parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/template/slideshow.tpl

    r27343 r29383  
    2727      <div class="fotorama" data-startindex="{$current_rank}" data-ratio="16/9" data-auto="false"
    2828        data-width="100%" data-maxheight="100%" data-minheight="200" data-height="{$item_height}"
    29         data-shadows="{$Fotorama['shadows']}" data-nav="{$Fotorama['nav']}" data-fit="{$Fotorama['fit']}"
     29        data-shadows="{if $Fotorama['shadows']}true{else}false{/if}" data-nav="{$Fotorama['nav']}" data-fit="{$Fotorama['fit']}"
    3030        data-allowfullscreen="{$Fotorama['allowfullscreen']}" data-autoplay="{if $Fotorama['autoplay']}true{else}false{/if}"
    31         data-transition="{$Fotorama['transition']}" data-stopautoplayontouch="{$Fotorama['stopautoplayontouch']}"
    32         data-loop="{$Fotorama['stopautoplayontouch']}">
     31        data-transition="{$Fotorama['transition']}" data-stopautoplayontouch="{if $Fotorama['stopautoplayontouch']}true{else}false{/if}"
     32        data-loop="{if $Fotorama['loop']}true{else}false{/if}">
    3333      {foreach from=$items item=thumbnail}
    3434        <a href="{$thumbnail['derivative']->get_url()}"
Note: See TracChangeset for help on using the changeset viewer.