Image directory depending on language

How to set image directory depending on language?

For example I would like to add 3 images in main.tpl (I have english and polish images):

{foreach from=$all_languages item=language}


HTML example:

I would like to have only one set of images so when customer click polish language he has polish images, when he select english he has english etc. Right now he see all (eng and pol) images.

I know I shouldn’t use “{foreach ]” but what?

Try this instead:

Thank you its working :slight_smile: Very simple :smiley: