NATION

PASSWORD

SVG nation flags

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Wed Nov 10, 2021 5:03 pm

Wymondham wrote:What is the current maximum upload size for a SVG flag?

You can upload an image as large as 5MB, but it has to shrink down to 150KB or less after we compress it.

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Wed Nov 10, 2021 7:05 pm

New change: SVG flags now display with a ripple effect on nation home pages (main image only).

User avatar
Valentine Z
Postmaster-General
 
Posts: 11086
Founded: Nov 08, 2015
Scandinavian Liberal Paradise

Postby Valentine Z » Wed Nov 10, 2021 7:10 pm

[violet] wrote:New change: SVG flags now display with a ripple effect on nation home pages (main image only).

Ahh, that explains a lot.

Can this be an option? I'm not a fan of having it on by default.
Last edited by Valentine Z on Wed Nov 10, 2021 7:11 pm, edited 1 time in total.
Val's Stuff. ♡ ^_^ ♡ For You


Issues Thread 4th in Gen Sec Photography Stuff Project: Save F7.

The Sixty! Opinions Deposit! Valentian Stories! Gwen's Adventures! Cat Anthem! Valentian News.
If you are reading my sig, I want you to have the best day ever ! You are worth it, do not let anyone get you down !
Glory to De Geweldige Sierlijke Katachtige Utopia en Zijne Autonome Machten ov Valentine Z !
Q & A Here! | Heights of NS! | F7 Etiquette

Clarissa mistaken for Smurf/Avatar: 14
Valentijn Misgendered: 59
Valentijn now a She!

• Never trouble trouble until trouble troubles you.
• As a wise man once said: 我等は砲兵 皇国の護り (We are Artillery Guardians of the Empire).
• World Map is a cat playing with Australia.

User avatar
Allinburg
Envoy
 
Posts: 330
Founded: Feb 13, 2015
Left-wing Utopia

Postby Allinburg » Wed Nov 10, 2021 7:13 pm

[violet] wrote:New change: SVG flags now display with a ripple effect on nation home pages (main image only).

personally i don't like it, can this be toggled off?
Valentine Z wrote:Ahh, that explains a lot.

Can this be an option? I'm not a fan of having it on by default.

*ditto*
Last edited by Allinburg on Wed Nov 10, 2021 7:14 pm, edited 1 time in total.
Last edited by a proud self-proofreader on Thu Jan 1, 1970 12:00 am, edited 52 times in total.

Liberty – Civility – Unity ✧ United 1768
still retconningMain Dispatchooc

♪ funny you don't recall my name
it's still the same as long as night not so long ago
when you said that you love me so ♪

he/they ✦ 咖Stermdl電breda ✦ tired of ns, busy w/ rl ✦ ns stats cooked to death ❤️ ✦ have a nice day! ☀︎ ⊂(・ヮ・⊂)

User avatar
The Unified Missourtama States
Diplomat
 
Posts: 602
Founded: Jul 30, 2019
Psychotic Dictatorship

Postby The Unified Missourtama States » Wed Nov 10, 2021 7:18 pm

I will be the thrice. I do not like the ripple; please make it not default.
~TUMS, The Unified Missourtama States
The Card Gardening Society is NationStates' largest non-regional trading cards organization. Learn about us, then apply to become a member and join us on Discord!
Proudly serving South Pacific.

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Wed Nov 10, 2021 7:23 pm

There will probably be a setting, but it does not yet exist.

User avatar
Refuge Isle
Diplomat
 
Posts: 896
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Wed Nov 10, 2021 7:23 pm

[violet] wrote:New change: SVG flags now display with a ripple effect on nation home pages (main image only).

I do not seem to be able to see my guardian nation's flag at all now (main image)

https://www.nationstates.net/nation=warden_luca

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Wed Nov 10, 2021 7:32 pm

Refuge Isle wrote:I do not seem to be able to see my guardian nation's flag at all now (main image)

https://www.nationstates.net/nation=warden_luca

Thanks for the report. SVG images with no or very small defined widths/heights should display with appropriate minimum size again.

User avatar
Insidium
Bureaucrat
 
Posts: 43
Founded: Nov 10, 2021
Anarchy

Postby Insidium » Wed Nov 10, 2021 10:43 pm

Vector flags look blurry and pixelated on mobile. I'm curious to understand whether this is an intended feature or a bug, and whether the way vector flags show on mobile is something that will be changed in future.

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Wed Nov 10, 2021 11:48 pm

Insidium wrote:Vector flags look blurry and pixelated on mobile.

Which device/browser?

User avatar
Insidium
Bureaucrat
 
Posts: 43
Founded: Nov 10, 2021
Anarchy

Postby Insidium » Thu Nov 11, 2021 12:05 am

[violet] wrote:
Insidium wrote:Vector flags look blurry and pixelated on mobile.

Which device/browser?

Safari on iOS 15.

User avatar
Han Kook
Civilian
 
Posts: 1
Founded: Oct 16, 2021
Civil Rights Lovefest

Postby Han Kook » Thu Nov 11, 2021 5:55 am

Valentine Z wrote:
[violet] wrote:New change: SVG flags now display with a ripple effect on nation home pages (main image only).

Ahh, that explains a lot.

Can this be an option? I'm not a fan of having it on by default.


Agree, I don't really like the ripple effect. Any chance we can go back to the clean crisp svg look we had previously?
HANKOOKREPUBLIC

☯ 대한민국 ☯

"홍익인간"
"弘益人間"
"Broadly BenefitHuman Realm"

User avatar
Comfed
Ambassador
 
Posts: 1368
Founded: Apr 09, 2020
Psychotic Dictatorship

Postby Comfed » Thu Nov 11, 2021 7:33 am

Agreed with what others have said - the ripple effect really doesn’t look good on most flags.
Last edited by Comfed on Thu Nov 11, 2021 7:33 am, edited 1 time in total.
Fool me once, shame on you. Fool me twice, everybody dies.
Lord Dominator wrote:
10000 Islands Foreign Affairs wrote:~The population of 10000 Islands suffered a huge increase
I mean, if it’s that terrible I’m sure someone else will take them…

Frenchy: grub would be so proud knowing his descendants are the best raiders of their time and they’re queer

User avatar
Charburek
Lobbyist
 
Posts: 20
Founded: Apr 21, 2020
Civil Rights Lovefest

Postby Charburek » Thu Nov 11, 2021 10:03 am

[violet] wrote:New change: SVG flags now display with a ripple effect on nation home pages (main image only).

Please make it optional

User avatar
Minoa
Senator
 
Posts: 4925
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Thu Nov 11, 2021 2:34 pm

I do not like it [the ripple effect] at all. Sorry, but I am going back to using a PNG flag until I am able to use an SVG flag without the ripple effect.

I never liked the ripple effect because, well, Wikipedia does not use it when displaying flags.
Last edited by Minoa on Thu Nov 11, 2021 3:16 pm, edited 1 time in total.
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Thu Nov 11, 2021 4:13 pm

Insidium wrote:
[violet] wrote:Which device/browser?

Safari on iOS 15.

Can you please post a screenshot? I'm not seeing any pixellation/bluriness on iPhone Safari / iOS 15.0.2.

User avatar
[violet]
Site Admin
 
Posts: 15365
Founded: Antiquity

Postby [violet] » Thu Nov 11, 2021 5:46 pm

[violet] wrote:There will probably be a setting, but it does not yet exist.

This now exists. The current state of play, as per the Create a National Flag page's "Technical Details...", is:

SVG flags, including the built-in flags, allow you to toggle a ripple effect on or off at any time via your Settings. This only affects the look of the main flag displayed on your nation home page.

For custom flags in other formats (PNG, JPEG, GIF), you must choose whether to apply a ripple effect when you upload them. This affects all versions of the flag, and can only be changed later by re-uploading the image.

User avatar
Valentine Z
Postmaster-General
 
Posts: 11086
Founded: Nov 08, 2015
Scandinavian Liberal Paradise

Postby Valentine Z » Thu Nov 11, 2021 5:52 pm

Very nice, thank you kindly! ❤️
Val's Stuff. ♡ ^_^ ♡ For You


Issues Thread 4th in Gen Sec Photography Stuff Project: Save F7.

The Sixty! Opinions Deposit! Valentian Stories! Gwen's Adventures! Cat Anthem! Valentian News.
If you are reading my sig, I want you to have the best day ever ! You are worth it, do not let anyone get you down !
Glory to De Geweldige Sierlijke Katachtige Utopia en Zijne Autonome Machten ov Valentine Z !
Q & A Here! | Heights of NS! | F7 Etiquette

Clarissa mistaken for Smurf/Avatar: 14
Valentijn Misgendered: 59
Valentijn now a She!

• Never trouble trouble until trouble troubles you.
• As a wise man once said: 我等は砲兵 皇国の護り (We are Artillery Guardians of the Empire).
• World Map is a cat playing with Australia.

User avatar
Refuge Isle
Diplomat
 
Posts: 896
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Thu Nov 11, 2021 5:53 pm

[violet] wrote:
[violet] wrote:There will probably be a setting, but it does not yet exist.

This now exists. The current state of play, as per the Create a National Flag page's "Technical Details...", is:

SVG flags, including the built-in flags, allow you to toggle a ripple effect on or off at any time via your Settings. This only affects the look of the main flag displayed on your nation home page.

For custom flags in other formats (PNG, JPEG, GIF), you must choose whether to apply a ripple effect when you upload them. This affects all versions of the flag, and can only be changed later by re-uploading the image.

Bless, thanks.

User avatar
Diarcesia
Senator
 
Posts: 4634
Founded: Aug 21, 2016
Scandinavian Liberal Paradise

Postby Diarcesia » Thu Nov 11, 2021 6:01 pm

[violet] wrote:
SVG flags, including the built-in flags, allow you to toggle a ripple effect on or off at any time via your Settings. This only affects the look of the main flag displayed on your nation home page.

For custom flags in other formats (PNG, JPEG, GIF), you must choose whether to apply a ripple effect when you upload them. This affects all versions of the flag, and can only be changed later by re-uploading the image.

You actually did it, the absolute madlads and madlasses.

Thank you very much.

Edit: Just noticed that the svg ripple doesn't carry over to forum-side.
Last edited by Diarcesia on Thu Nov 11, 2021 6:03 pm, edited 3 times in total.
Factbooks | Economic Liaison | Maintenance
Between Palestine and Israel, Israel is right (check the links)
Salute like a Diarcesian

User avatar
Insidium
Bureaucrat
 
Posts: 43
Founded: Nov 10, 2021
Anarchy

Postby Insidium » Thu Nov 11, 2021 6:44 pm

[violet] wrote:
Insidium wrote:Safari on iOS 15.

Can you please post a screenshot? I'm not seeing any pixellation/bluriness on iPhone Safari / iOS 15.0.2.

Here it is, with Safari on iOS 15.0.2.
Last edited by Insidium on Thu Nov 11, 2021 6:44 pm, edited 1 time in total.

User avatar
Durm
Bureaucrat
 
Posts: 65
Founded: Jun 16, 2020
Psychotic Dictatorship

Postby Durm » Fri Nov 12, 2021 4:59 am

[violet] wrote:
[violet] wrote:There will probably be a setting, but it does not yet exist.

This now exists. The current state of play, as per the Create a National Flag page's "Technical Details...", is:

SVG flags, including the built-in flags, allow you to toggle a ripple effect on or off at any time via your Settings. This only affects the look of the main flag displayed on your nation home page.

For custom flags in other formats (PNG, JPEG, GIF), you must choose whether to apply a ripple effect when you upload them. This affects all versions of the flag, and can only be changed later by re-uploading the image.

The default status of that should be off, like for the "No Cards", "No Zombies", "Require confirmation before passing legislation, "Vacation mode" and "Show more stats" options. Right now, a lot of nations' flags became rippled without the players doing anything, and I don't think all of them like this.
Visoraxus Holoratus Starkiller

User avatar
Trotterdam
Powerbroker
 
Posts: 9560
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri Nov 12, 2021 6:30 am

The default status does appear to be off. At least, mine is set to off even though I haven't explicitly done so, though it should be noted that I haven't changed my flag since this thing started.

User avatar
Durm
Bureaucrat
 
Posts: 65
Founded: Jun 16, 2020
Psychotic Dictatorship

Postby Durm » Fri Nov 12, 2021 6:44 am

Trotterdam wrote:The default status does appear to be off. At least, mine is set to off even though I haven't explicitly done so, though it should be noted that I haven't changed my flag since this thing started.

I think it only happened to the default (Australian Aboriginal) flag.
Visoraxus Holoratus Starkiller

User avatar
Minoa
Senator
 
Posts: 4925
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Sat Nov 13, 2021 2:53 pm

Considering how Wikipedia displays flags, I would prefer the rippling to be off by default.

I think that the new way of turning rippling on or off should also eventually be applied to raster flags, as in the user uploads a plain version of their flag, and then turn the rippling on or off via the settings.

When the rippling is off by default, it will be really easy to grandfather existing flags with rippling already baked in.
Mme A. d'Oiseau, B.A. (State of Minoa)

PreviousNext

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Mavenu, Semper Statum Est, The Seven Seas, Thousand Branches

Advertisement

Remove ads