We have some items with two images and some items with only one. I want one drill-down template to use for both, BUT I don't want a broken image showing in the web-store when an item only has one image. See attached script... that would be part of our universal drill-down template.
<script type="text/javascript">
if ( ********** )
{
document.write('<style type="text/css">#ImageNumberTwo { display: none; }</style>');
}
</script>
I need to set ********** to specify something like...<%=getCurrentAttribute('item','custitem_ImageNumberTwo')%> is <null>How would that be formatted?Thanks for any help,Tom