Biru Posted August 7, 2008 Posted August 7, 2008 when editing an infobox... say if we wanted an linked image on its body..how would I add a php code calling the image through ".tep_image"!! I mean like wat would I put instead of this:- $content='<center><b><a href="THE LINK><img src="IMAGE SOURCE" width="140" height="130" /></a></b></center>'; what would it be:- $content='??'
spooks Posted August 7, 2008 Posted August 7, 2008 when editing an infobox...say if we wanted an linked image on its body..how would I add a php code calling the image through ".tep_image"!! I mean like wat would I put instead of this:- $content='<center><b><a href="THE LINK><img src="IMAGE SOURCE" width="140" height="130" /></a></b></center>'; what would it be:- $content='??' <a href="' . tep_href_link(THE LINK) . '">' . tep_image('IMAGE SOURCE', 'ALT', 'width', 'height') . '</a>'; Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.