dko Posted October 30, 2007 Posted October 30, 2007 Hello. I 've been trying to make my images change according to language but had no luck. I have a TM template. Please have a look. Is there any way i can change it? <table cellspacing=0 cellpadding=0> <tr><td><a href=<?=tep_href_link('index.php')?>><img src=images/m02.gif width=191 height=39 border=0></a></td></tr> <tr><td><a href=<?=tep_href_link('about.php')?>><img src=images/m03.gif width=191 height=36 border=0></a></td></tr> <tr><td><a href=<?=tep_href_link('service.php')?>><img src=images/m04.gif width=191 height=38 border=0></a></td></tr> <tr><td><a href=<?=tep_href_link('design.php')?>><img src=images/m05.gif width=191 height=37 border=0></a></td></tr> <tr><td><a href=<?=tep_href_link('contact_us.php')?>><img src=images/m06.gif width=191 height=38 border=0></a></td></tr> </table> Would be grateful if anyone could help.
Nullachtfuffzehn Posted October 30, 2007 Posted October 30, 2007 You should display the images with the tep_image() wrapper function, so you can add the language directory in front of the image file name in order to make them language dependant.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.