Template vbcms_content_article_page
The default condition = "$otherattachments"
How to make condition="$thumbnailattachments" ?
I need to display a thumbnai image.
Code:
<vb:if condition="$showattachments"> <div class="attachments"> <vb:if condition="$thumbnailattachments"> <fieldset class="postcontent"> <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend> {vb:raw thumbnailattachments} </fieldset> </vb:if> <vb:if condition="$imageattachments"> <fieldset class="postcontent"> <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend> {vb:raw imageattachments} </fieldset> </vb:if> <vb:if condition="$imageattachmentlinks"> <fieldset class="postcontent"> <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend> <ul> {vb:raw imageattachmentlinks} </ul> </fieldset> </vb:if> <vb:if condition="$otherattachments"> <fieldset class="postcontent"> <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend> <ul> {vb:raw otherattachments} </ul> </fieldset> </vb:if> </div> </vb:if>
How to make condition="$thumbnailattachments" ?
I need to display a thumbnai image.
Comment