How do I make a chained menu to toggle images ?
Design and Skin Customization
OK - In the template you'll need to extrapolate the flag file name from the selected country name and use that to display the flag image. Ideally you'll have a skin folder under the img folder with all the flag images in. Each flag file would be named 'Austria.png', 'Belgium.png', 'Bulgaria.png' etc. The countries would match the options in the chained select field, so then you could add this code to the template to show the flag -
<img src="{$jamroom_url}/skins/{$_conf.jrCore_active_skin}/img/flags/{$profile_hometown_0}.png" alt="{$profile_hometown_0}" title="{$profile_hometown_0}">
If your flag filenames don't match the country names directly, you'll need to do some cross-referencing in the template prior to the above call.
hth