Hi folks,
I downloaded the flag icons (from famfamfam.com) that are free for use on websites or apps and looked up the ISO country codes and renamed all of the icons to match the option value numbers used by MODx wherever the "Country" dropdown field appears.
You can personalize your logged in user (who has filled in the country code) -- or as I’m doing -- adding a little flag pic in my Jot comments.
Create a folder for the flag pics...
[tt]assets/images/flags[/tt]
Insert some code in the Jot "chunk.comment.inc.html" template wherever you wish the flag to appear in Jot comments...
<br /><img src="assets/images/flags/[+comment.createdby:userinfo=`country`+].gif" title="[+comment.createdby:userinfo=`country`+]" alt="" class="floatLeft" style="padding:5px 0 0 5px;" />
You could also use these flags to personalize the logged in user elsewhere. If you prefer png over gif, you can download from famfamfam.