{html_head} {literal} {/literal} {/html_head} {assign var=derivative value=$pwg->derivative($stripped_responsive.imageSize, $current.src_image)} {assign var='size' value=$derivative->get_size()} {literal} {/literal}
 
{assign var='display_description_tab' value=false} {if (!($stripped_responsive.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))} {assign var='display_description_tab' value=true} {/if} {assign var='showTitle' value=false} {if isset($COMMENT_IMG) and $stripped_responsive.imageCaption == 'description'} {assign var='showTitle' value=true} {/if} {if isset($current.TITLE) and $stripped_responsive.imageCaption == 'title'} {assign var='showTitle' value=true} {/if}
{$ELEMENT_CONTENT}
{if $showTitle }
{if ($stripped_responsive.imageCaption == 'description' )} {$COMMENT_IMG|strip_tags:false} {/if} {if ($stripped_responsive.imageCaption == 'title' )} {$current.TITLE} {/if}
{/if}