NATION

PASSWORD

Giant Custom Flags?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Perfectania Prime
Civilian
 
Posts: 1
Founded: Jul 19, 2017
Ex-Nation

Giant Custom Flags?

Postby Perfectania Prime » Sat Aug 12, 2017 6:56 pm

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?

User avatar
Gig em Aggies
Powerbroker
 
Posts: 7728
Founded: Aug 15, 2009
Iron Fist Consumerists

Postby Gig em Aggies » Sat Aug 12, 2017 7:15 pm

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
“One of the serious problems of planning against Aggie doctrine is that the Aggies do not read their manuals nor do they feel any obligations to follow their doctrine.”
“The reason that the Aggies does so well in wartime, is that war is chaos, and the Aggies practices chaos on a daily basis.”
“If we don’t know what we are doing, the enemy certainly can’t anticipate our future actions!”

User avatar
The Snazzylands
Diplomat
 
Posts: 742
Founded: Feb 20, 2015
Iron Fist Socialists

Postby The Snazzylands » Sat Aug 12, 2017 7:20 pm

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.
Mind awaits entrance
Of a witty signature.
One has yet to come.

User avatar
Gig em Aggies
Powerbroker
 
Posts: 7728
Founded: Aug 15, 2009
Iron Fist Consumerists

Postby Gig em Aggies » Sat Aug 12, 2017 7:27 pm

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.
“One of the serious problems of planning against Aggie doctrine is that the Aggies do not read their manuals nor do they feel any obligations to follow their doctrine.”
“The reason that the Aggies does so well in wartime, is that war is chaos, and the Aggies practices chaos on a daily basis.”
“If we don’t know what we are doing, the enemy certainly can’t anticipate our future actions!”

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Sun Aug 13, 2017 2:19 pm

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.

User avatar
Montmorencia
Bureaucrat
 
Posts: 44
Founded: Apr 18, 2015
Ex-Nation

Postby Montmorencia » Sun Aug 13, 2017 7:04 pm

[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.
Last edited by Montmorencia on Sun Aug 13, 2017 7:04 pm, edited 1 time in total.
——————————
————————————
Montmorencia

Economic Left/Right: -4.75 | Social Libertarian/Authoritarian: -4.36
Make America Great Britain Again

User avatar
Minoa
Negotiator
 
Posts: 6072
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Mon Aug 14, 2017 3:34 am

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).
Last edited by Minoa on Mon Aug 14, 2017 4:32 am, edited 1 time in total.
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Mon Aug 14, 2017 2:24 pm

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!

User avatar
Tinhampton
Postmaster-General
 
Posts: 13700
Founded: Oct 05, 2016
Civil Rights Lovefest

Postby Tinhampton » Mon Aug 14, 2017 4:39 pm

[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?
The Self-Administrative City of TINHAMPTON (pop. 329,537): Saffron Howard, Mayor (UCP); Alexander Smith, WA Delegate-Ambassador

Authorships & co-authorships: SC#250, SC#251, Issue #1115, SC#267, GA#484, GA#491, GA#533, GA#540, GA#549, SC#356, GA#559, GA#562, GA#567, GA#578, SC#374, GA#582, SC#375, GA#589, GA#590, SC#382, SC#385*, GA#597, GA#607, SC#415, GA#647, GA#656, GA#664, GA#671, GA#674, GA#675, GA#677, GA#680, Issue #1580, GA#682, GA#683, GA#684, GA#692, GA#693, GA#715
The rest of my CV: Cup of Harmony 73 champions; Philosopher-Queen of Sophia; *author of the most popular SC Res. ever; anti-NPO cabalist in good standing; 48yo Tory woman w/Asperger's; Cambridge graduate ~ currently reading The World by Simon Sebag Montefiore

User avatar
Almonaster Nuevo
Negotiator
 
Posts: 6827
Founded: Mar 11, 2007
Civil Rights Lovefest

Postby Almonaster Nuevo » Mon Aug 14, 2017 6:33 pm

Shhh! They might be bigger.
Christian Democrats wrote:Would you mind explaining what's funny? I'm not seeing any humor.
The Blaatschapen wrote:I'll still graze the forums with my presence
Please do not TG me about graphics requests. That's what the threads are there for.

User avatar
Minoa
Negotiator
 
Posts: 6072
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Tue Aug 15, 2017 12:21 am

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.
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
Minoa
Negotiator
 
Posts: 6072
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Fri Aug 18, 2017 12:06 pm

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
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
Cresenthia
Diplomat
 
Posts: 576
Founded: Mar 03, 2015
Ex-Nation

Postby Cresenthia » Sat Aug 19, 2017 3:04 pm

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. ;)


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Alt Capitalist Britain, Nova Cerulea, Secondo Impero fascista italian, Sylh Alanor

Advertisement

Remove ads