well this is my first time coding my own work so am going to need some pro help

,
i want the code blow to show only if there is a image attachments
vv
Code:
<p class="bigusername" style="border-bottom: 2px solid rgb(204, 204, 204);">Screenshots</p>
all images attachments
vv
Code:
<if condition="$show['thumbnailattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</if>
<if condition="$show['imageattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['moderatedattachment']">
<strong>$vbphrase[attachments_pending_approval]</strong>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</if>
</if>
--------------- Added [DATE]1239944775[/DATE] at [TIME]1239944775[/TIME] ---------------
Lynne help??