{if !empty($thumbnails)} {$row_height=216} {$hmargin=4} {$vmargin=5} {$container_margin=-10} {combine_script id='klass' path='themes/smartpocket/js/klass.min.js'} {combine_script id='photoswipe' path='themes/smartpocket/js/code.photoswipe.jquery.min.js' require='klass,jquery.mobile'} {combine_script id='smartpocket' path='themes/smartpocket/js/smartpocket.js' require='photoswipe'} {combine_script id='sp.thumb.arrange' path='themes/smartpocket/js/thumb.arrange.js' require='jquery' load='footer'} {footer_script} var var_loop = {if $smartpocket.loop}true{else}false{/if}, var_autohide = {$smartpocket.autohide}, var_trad = "{'More Information'|@translate}"; var SPThumbsOpts ={ hMargin:{$hmargin},rowHeight:{$row_height}}; {/footer_script} {$thumb_picker->init($row_height)} {html_style} .thumbnails .liEmpty{ display:none} .thumbnails LI{ margin-left:{$hmargin}px; margin-bottom:{$vmargin}px} .thumbnails { margin:0 {$container_margin}px 0 {$container_margin-$hmargin}px} {/html_style}