Adding alt img tags to an existing php website
<p>I am currently tring to add in alt img tags for an existing website running the interspire shopping cart platform, I have gotten pretty close I bleieve, but i cannot seem to get it right. Any help would be grealty appreciated.</p>

<pre><code>// Is there a thumbnail image we can show? 
$thumb = $GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetThumb(); 
$alttext = $GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductName(); 

if($thumb == '' &amp;&amp; GetConfig('DefaultProductImage') != '') {
   if(GetConfig('DefaultProductImage') == 'template') {
     $thumb = GetConfig('ShopPath').'/templates/'.GetConfig('template').'/images/ProductDefault.gif'; 
     } else { 
        $thumb = GetConfig('ShopPath').'/'.GetConfig('DefaultProductImage'); 
     } 
  $thumbImage = '&lt;img src="'.$thumb.'" alt="-&gt;GetProductName" /&gt;'; 
} else if($thumb != '') { 
    $thumbImage = '&lt;img src="'.GetConfig('ShopPath').'/'.GetConfig('ImageDirectory').'/'.$thumb.'" alt=""'.$alttext.'" /&gt;';
}
</code></pre>

<p><em>I have tried posting the code but it says new users cannot post image tags for some reason</em></p>
