Hi,
you can use the Override Template Joomla feature.
Follow these steps to replace the avatar with Country Flag Image:
- Copy this file /modules/mod_jsnusers/tmpl/default.php into /templates/your_templates/html/mod_jsnusers/test.php (create missing directories)
- Edit the file test.php, at line 29 replace this "avatar_mini" with your image alias field (example "countryflag_mini"
- Now in module advanced options you can choose "test" layout for this module (see screenshot)
Why Template override
You can edit directly the default.php but when you update Easy Profile this file will be overwritten with new version, also you can have many layout for each module. (Note: this is not a feature of EP, this is a Joomla built-in feature)
Why "_mini" after alias of field
Because with this the system will get a Thumbnail (recommended for lists). You may use this without _mini.
some docs at:
-
https://www.easy-profile.com/docs/38-jsnuser-object.html
-
https://www.easy-profile.com/docs/26-plugin-content.html