Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
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?
Comment | File | Size | Author |
---|---|---|---|
#6 | famfamfam.tar_.gz | 21.76 KB | eMPee584 |
Comments
Comment #1
Freso CreditAttribution: Freso commentedYou 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?
Comment #2
Freso CreditAttribution: Freso commentedMarked #246518: More flags: found a source as a duplicate. That issue also noted that the Esperanto flag isn't among the available icons.
Comment #3
Freso CreditAttribution: Freso commentedAlright, 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...
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'
anddrupal_get_path('module', 'languageicons') .'/flags/famfamfam/*.png'
. So the path will still be stored inlanguageicons_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.
Comment #4
Freso CreditAttribution: Freso commentedPostponed for 6.x-2.x.
Comment #5
Freso CreditAttribution: Freso commentedPostponed for #319966: Add flag icon theme selector.
Comment #6
eMPee584 CreditAttribution: eMPee584 commentedComment #7
cookiesunshinex CreditAttribution: cookiesunshinex commentedI agree. I had to manually add several flags in myself.
http://www.famfamfam.com/lab/icons/flags/
Comment #8
glitz CreditAttribution: glitz commentedi have flags set up but cant find a way to add them into my code in order for it to replace the default links
thx
chris
Comment #9
ratioswitch CreditAttribution: ratioswitch commentedI 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.
Cheers,
_rs
Comment #10
pfrenssenDrupal 6 is no longer supported. If anyone is still interested in this, feel free to reopen and update the version.