I have always been using the flag icons from the FamFamFam.com website: http://www.famfamfam.com/lab/icons/flags/
These flags look nice with the little border and anti-alias alike shining effect...

The readme.txt file in the zip files states:

These icons are public domain, and as such are free for any use (attribution appreciated but not required).

So I guess there is not really a problem to use them here?

#6 famfamfam.tar_.gz21.76 KBeMPee584
Members fund testing for the Drupal project. Drupal Association Learn more


Freso’s picture

Component: User interface » Icon collection
Category: bug » feature

You can always drop them in, on your own site. :)

To use them in relation to this project would pretty much limit the module to the flags made available there though, as it's a bit more trouble to create a flag icon in this style, compared to the current one - and it's currently only using ISO 3166-1 codes, meaning that languages not in that set (e.g., Scots ("sco")) won't be included at all.

An option might be to provide several sets and let the user/admin decide which set to use for their site?

Freso’s picture

Marked #246518: More flags: found a source as a duplicate. That issue also noted that the Esperanto flag isn't among the available icons.

Freso’s picture

Alright, here are thoughts on how to do this; I was thinking something a bit fancy, yet very, very simple as it wouldn't require any change to the backend...

Icon file set:
( ) Default, plain icons
( ) Shiny icons from famfamfam.com
(*) Custom set...
Path to custom set: [_______________]

Where the path will only be visible when "custom" is chosen, and the two other options will really just be shorthand for drupal_get_path('module', 'languageicons') .'/flags/*.png' and drupal_get_path('module', 'languageicons') .'/flags/famfamfam/*.png'. So the path will still be stored in languageicons_path as it is now, the only difference is that this value would only be exposed if one chooses to use different icons than those presented.

Please let me know if this sounds like crazy talk.

Freso’s picture

Status: Active » Postponed

Postponed for 6.x-2.x.

Freso’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
eMPee584’s picture

Status: Postponed » Needs review
21.76 KB
cookiesunshinex’s picture

I agree. I had to manually add several flags in myself.


glitz’s picture

i have flags set up but cant find a way to add them into my code in order for it to replace the default links


ratioswitch’s picture

I also agree that using the FFF Flag icons would be the way to go with this module. For reference, there are 49 flags represented in the default icon directory (sites/all/modules/languageicons/flags) and 247 flags in the FFF icon set. Seems like a no-brainer to me.


pfrenssen’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 6 is no longer supported. If anyone is still interested in this, feel free to reopen and update the version.