Rev | Line | |
---|
[16930] | 1 | <img src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}"> |
---|
[12797] | 2 | |
---|
[12880] | 3 | {foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip} |
---|
[14180] | 4 | <map name="map{$derivative->get_type()}"> |
---|
[12880] | 5 | {assign var='size' value=$derivative->get_size()} |
---|
| 6 | {if isset($previous)} |
---|
| 7 | <area shape=rect coords="0,0,{$size[0]/4|@intval},{$size[1]}" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" alt="{$previous.TITLE}"> |
---|
| 8 | {/if} |
---|
| 9 | <area shape=rect coords="{$size[0]/4|@intval},0,{$size[0]/1.34|@intval},{$size[1]/4|@intval}" href="{$U_UP}" title="{'Thumbnails'|@translate}" alt="{'Thumbnails'|@translate}"> |
---|
| 10 | {if isset($next)} |
---|
| 11 | <area shape=rect coords="{$size[0]/1.33|@intval},0,{$size[0]},{$size[1]}" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" alt="{$next.TITLE}"> |
---|
| 12 | {/if} |
---|
| 13 | </map> |
---|
[14180] | 14 | {/strip}{/foreach} |
---|
Note: See
TracBrowser
for help on using the repository browser.