NATION

PASSWORD

Endorsements list flags

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Endorsements list flags

Postby Glen-Rhodes » Sun Jan 31, 2010 7:46 pm

When going to nation that has tons of endorsements, the page takes forever to load, and sometimes freezes the browser. I would assume this is because of all of the flag images, that are simply HTML-resized, rather than actual small images.

Could we either get rid of the small flags on the endorsements lists, or copy each nation flag into a smaller icon version, instead of simply resizing the larger image with HTML?

User avatar
Topid
Minister
 
Posts: 2843
Founded: Dec 29, 2008
Capitalizt

Postby Topid » Mon Feb 01, 2010 4:42 am

I hadn't noticed this before...

I'm using Firefox for the first time and it's running very slow as is, and when I try to load pages of people with tons of endos it slows me down a lot.

I don't know about all that image resize HTML stuff, that's over my head, but would it be possible to stick the list of endorsements in a (sorta) spoiler? (And leave the total endorsements on the outside.) That way they wouldn't load every single time the page is accessed, but are still easy to see if needed. (Similar to the delegate votes on the WA page.)

Basically looking like:

Endorsements Received: 2
Last edited by Topid on Mon Feb 01, 2010 4:49 am, edited 1 time in total.
AKA Weed

User avatar
The Tofu Islands
Minister
 
Posts: 2872
Founded: Mar 24, 2009
Ex-Nation

Postby The Tofu Islands » Mon Feb 01, 2010 5:00 am

Topid wrote:I don't know about all that image resize HTML stuff, that's over my head, but would it be possible to stick the list of endorsements in a (sorta) spoiler? (And leave the total endorsements on the outside.) That way they wouldn't load every single time the page is accessed, but are still easy to see if needed. (Similar to the delegate votes on the WA page.)

I’m pretty sure that, in Firefox at least, images in spoilers (or at least ones using the forums method of implementing it) are still loaded when the page starts up, however the resizing is done when they’re displayed.
In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread.

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Postby Glen-Rhodes » Mon Feb 01, 2010 1:42 pm

Topid wrote:II don't know about all that image resize HTML stuff, that's over my head...

I'll try and explain it simply, because this is what is causing the problem. In this little explanation, we'll be using Alsted, since he has 332 endorsements.

When you load the page, each of those 332 flag images is loaded. You see them as small, but that's merely a visual manipulation. The tiny image still has the same size as the large image, because it still technically is the large image. You're essentially going to a page with 332 medium-sized images. That's bound to make any browser lag or sometimes freeze.

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

Postby [violet] » Tue Feb 02, 2010 2:54 pm

Yes, it's probably worth correcting this, given the rising popularity of mobile devices. Previously we had a server straining at the limits of its CPU, but that's no longer the case and we can auto-generate thumbnails.

User avatar
Omigodtheykilledkenny
Negotiator
 
Posts: 5741
Founded: Mar 14, 2005
Left-Leaning College State

Postby Omigodtheykilledkenny » Tue Feb 02, 2010 5:23 pm

While we're correcting the smaller flag images, can we please remove the small flags for Founders on the WFE? They clash, especially since they aren't the same size as the Delegate flag just above them. Either that, or just make the Delegate flag the same size. :)
Omigodtheykilledkenny FAQ | "The Biggest Sovereigntist IN THE WORLD" - Chester Pearson

User avatar
Neasmyrna
Envoy
 
Posts: 260
Founded: Mar 09, 2007
Anarchy

Postby Neasmyrna » Wed Feb 03, 2010 12:18 am

Omigodtheykilledkenny wrote:While we're correcting the smaller flag images, can we please remove the small flags for Founders on the WFE? They clash, especially since they aren't the same size as the Delegate flag just above them. Either that, or just make the Delegate flag the same size. :)


It would look kinda weird with the founder having no flag next to it though...
Founder of 00000 A World Power

You're welcome to visit our forum at: http://z3.invisionfree.com/A_World_Power

User avatar
Omigodtheykilledkenny
Negotiator
 
Posts: 5741
Founded: Mar 14, 2005
Left-Leaning College State

Postby Omigodtheykilledkenny » Wed Feb 03, 2010 9:16 pm

Omigodtheykilledkenny FAQ | "The Biggest Sovereigntist IN THE WORLD" - Chester Pearson

User avatar
Topid
Minister
 
Posts: 2843
Founded: Dec 29, 2008
Capitalizt

Postby Topid » Thu Feb 04, 2010 5:05 pm


That is weird....
AKA Weed


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bowzin, France Europe

Advertisement

Remove ads