Page 1 of 1

Giant Custom Flags?

PostPosted: Sat Aug 12, 2017 6:56 pm
by Perfectania Prime
Why are custom flags so huge? When you use the existing flags they are quite small, maybe 2 inches wide, but when you use a custom flag it is much larger, at least 5 inches across. It shouldn't be an issue to make them the same size, so I wonder if this was by design and if so, why?

PostPosted: Sat Aug 12, 2017 7:15 pm
by Gig em Aggies
Perfectania Prime wrote:Why are custom flags so huge? When you use the existing flags they are quite small, maybe 2 inches wide, but when you use a custom flag it is much larger, at least 5 inches across. It shouldn't be an issue to make them the same size, so I wonder if this was by design and if so, why?


Coding and time are really the main reasons plus you can just upload a irl nation flag as a custom flag anyways

PostPosted: Sat Aug 12, 2017 7:20 pm
by The Snazzylands
You can just make your custom flag the same dimensions as the default flags, no? But as far as I'm concerned, the more screen space my glorious flag takes up, the better.

PostPosted: Sat Aug 12, 2017 7:27 pm
by Gig em Aggies
The Snazzylands wrote:You can just make your custom flag the same dimensions as the default flags, no? But as far as I'm concerned, the more screen space my glorious flag takes up, the better.


As for the first part I never really tried it but as for the second part in your dreams that's my territory your coming into.

PostPosted: Sun Aug 13, 2017 2:19 pm
by [violet]
Perfectania Prime wrote:Why are custom flags so huge? When you use the existing flags they are quite small

When NationStates began in 2002, the average monitor was 800x600 pixels, which meant the standard flags took up a reasonable amount of space. As monitors have increased in resolution, the flags occupy less of the screen. They're now smaller than ideal, but no-one has gotten around to recreating them all. We have increased the size limits on custom flags, though, since that's easier to do.

PostPosted: Sun Aug 13, 2017 7:04 pm
by Montmorencia
[violet] wrote:
Perfectania Prime wrote:Why are custom flags so huge? When you use the existing flags they are quite small

When NationStates began in 2002, the average monitor was 800x600 pixels, which meant the standard flags took up a reasonable amount of space. As monitors have increased in resolution, the flags occupy less of the screen. They're now smaller than ideal, but no-one has gotten around to recreating them all. We have increased the size limits on custom flags, though, since that's easier to do.

Wouldn't it make sense to get the new flags from Wikicommons since the national and territorial flags there are within the Creative Commons. Unless there's more that goes into the default flags.

PostPosted: Mon Aug 14, 2017 3:34 am
by Minoa
If I recall correctly, there was some resistance to SVG flags because of how badly IE/Edge supports it. However, I am not seeing it as a problem to implement SVG flags, since many of the visitors are using Chrome, Safari or Firefox (or its derivatives).

Alternatively, NationStates can use librsvg.

Side note, the next update to the flags feature is an opportunity to make sure that the 3:2 ratio flags follow an actual 3:2 ratio (e.g. 108 px by 72 px instead of 107 px by 71 px).

PostPosted: Mon Aug 14, 2017 2:24 pm
by [violet]
Minoa wrote:If I recall correctly, there was some resistance to SVG flags because of how badly IE/Edge supports it. However, I am not seeing it as a problem to implement SVG flags, since many of the visitors are using Chrome, Safari or Firefox (or its derivatives).

Unfortunately many people still use Internet Explorer to access NS, and since IE can't scale SVG images, it would break the site pretty badly for them.

Minoa wrote:Alternatively, NationStates can use librsvg.

I just had a play with it and it mostly worked but also caused a few server segmentation faults. If I can get it working, I'll add it.

Minoa wrote:Side note, the next update to the flags feature is an opportunity to make sure that the 3:2 ratio flags follow an actual 3:2 ratio (e.g. 108 px by 72 px instead of 107 px by 71 px).

Good point!

PostPosted: Mon Aug 14, 2017 4:39 pm
by Tinhampton
[violet] wrote:
Minoa wrote:Side note, the next update to the flags feature is an opportunity to make sure that the 3:2 ratio flags follow an actual 3:2 ratio (e.g. 108 px by 72 px instead of 107 px by 71 px).

Good point!

So... if this DOES happen, I'll assume that the maximum custom flag sizes will be raised to 324x216 and 432x288 respectively?

PostPosted: Mon Aug 14, 2017 6:33 pm
by Almonaster Nuevo
Shhh! They might be bigger.

PostPosted: Tue Aug 15, 2017 12:21 am
by Minoa
Tinhampton wrote:
[violet] wrote:Good point!

So... if this DOES happen, I'll assume that the maximum custom flag sizes will be raised to 324x216 and 432x288 respectively?

It will likely be no more of an issue, once librsvg is implemented.

PostPosted: Fri Aug 18, 2017 12:06 pm
by Minoa
Hi, I have coded a SVG version of the Ex-Nation flag, since that is a system flag and the necessary coding for IE has been built-in: https://nsindex.net/wiki/File:Ex-Nation_Flag.svg

Please confirm if it works in IE.

I recently did some mods to the .htaccess file to allow links to image description pages, so hit Command+Shift+R if it doesn't work the first time.

-- Minoa

PostPosted: Sat Aug 19, 2017 3:04 pm
by Cresenthia
Minoa wrote:Hi, I have coded a SVG version of the Ex-Nation flag, since that is a system flag and the necessary coding for IE has been built-in: https://nsindex.net/wiki/File:Ex-Nation_Flag.svg

Please confirm if it works in IE.

I recently did some mods to the .htaccess file to allow links to image description pages, so hit Command+Shift+R if it doesn't work the first time.

-- Minoa

Or ctrl-F5/ctrl-shift-r in Windows. ;)