The FLAGS category on the index page, which shows the country flags have this now:
Flag icon
[x] users
(where [x] shows the number of users for that country).
As most people do not know which flag belongs to which country, I would like to request a change to the display of the icons.
Example 1:
Flag icon
Country name (x)
Example 2:
Flag icon
(x) Country name
Example 3:
Flag icon
Country name
[x] users
(where [x] shows the number of users for that country).
Request for index page icon change - National Flags
-
- Registered User
- Posts: 40
- Joined: Tue Mar 07, 2017 3:06 pm
Re: Request for index page icon change
Hover over the flag image
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Request for index page icon change
I know.RMcGirr83 wrote:Hover over the flag image
Request is to show it without hovering on the index.
-
- Registered User
- Posts: 40
- Joined: Tue Mar 07, 2017 3:06 pm
Re: Request for index page icon change
You are free to take the code and modify it however you see fit.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer
Appreciate the extensions/mods/support then you can support me by buying a beer
-
- Former Team Member
- Posts: 22105
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
Re: Request for index page icon change
So, I decided to make a change to the flag images to show the info I needed.
Instead of displaying the country name as text somewhere around the image, the flag image contains the ISO country code.
To display the complete country name is problematic as some countries have a long name and having the full names is somewhat distracting.
To use the 3 letter ISO code is enough to identify the flag's country.
I used ImageMagick to add the ISO codes using batch processing.
The text fits exactly in the spare free area so the image is not changed in height/width.
Examples below. The original flag image, the one having 2 code ISO and one having 3 code ISO:
United states of America
The netherlands
The image filenames stay the same so by uploading the changed flags and replacing the original ones is enough.
Below the complete set of images.
The archive contains the batch file to process the images.
It contains the images having 2 and 3 ISO code and also versions having the filename in ISO 3.
You can modify the batchfile to make your own set and determine which text, which font and where to put the text in the image yourself.
Instead of displaying the country name as text somewhere around the image, the flag image contains the ISO country code.
To display the complete country name is problematic as some countries have a long name and having the full names is somewhat distracting.
To use the 3 letter ISO code is enough to identify the flag's country.
I used ImageMagick to add the ISO codes using batch processing.
The text fits exactly in the spare free area so the image is not changed in height/width.
Examples below. The original flag image, the one having 2 code ISO and one having 3 code ISO:
United states of America
The netherlands
The image filenames stay the same so by uploading the changed flags and replacing the original ones is enough.
Below the complete set of images.
The archive contains the batch file to process the images.
It contains the images having 2 and 3 ISO code and also versions having the filename in ISO 3.
You can modify the batchfile to make your own set and determine which text, which font and where to put the text in the image yourself.
-
- Registered User
- Posts: 40
- Joined: Tue Mar 07, 2017 3:06 pm