PDA

View Full Version : Multi-language site (image switch)


acrobate67
03-30-2010, 04:23 PM
I need to switch to a different image according to the language that is selected. My images are store in: site/images/[lang]

Here is my code:

<img title="top_image" src="images/{$CONFIG['lang']:php}/top_typo.jpg" width="588" height="85" alt="top_image"/>

Result: the image does not display on my page. What am I doing wrong?

edbr
03-31-2010, 02:01 AM
whats that doing? {$CONFIG['lang']:razz:hp}