Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

pictures
 
Charles
Member
 
Avatar
Total Posts:  73
Joined:  2008-03-27
Belgium
 

Hi,

I’ve created 3 pictures called France.png, Nederland.png and UK.png.

They are the flags of the respective countries.

I’d like to use these pictures in the languages.phtml script so that, by clicking on the flag, the correct language is used.

To display the pictures, I use following syntax:

<img src="{{skin url=’images/France.png’}}” alt= “FR” onclick="setLanguageCode(’lvp_fr’, ‘<?php echo $this->getCurrentStoreCode()?>’)” />

However, the picture is not shown.

Any ideas ?

thanks,

Charles

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top