officer/crew template thumbnail link generation vs other templates

Fragment of a discussion from User talk:Klaxxin
Jump to: navigation, search

Just wanting to point out an issue here and some reasoning behind it, LotS uses 3 image sizes when displaying the game to you, xlarge (random size) for profile, a medium (usually 128px max) for the fusion, and the icon (48px max) you see in inventory and these are scaled depending on the detected browser window size. - we use the latter two for item and list pages in their raw format from cache, the issue you run into is the whitespace around xlarge/medium images can be random for equipment and when applying the 40px reduction, you get a 5px image or warped looking image if the image is not at least 40px wide/tall or square, examples of this are on the helmet page, Screaming Skull Mask, Xin Nian Long Mask, when pulling the cached icon file you get a auto cropped version that sizes well for the list pages.

basically what i'm trying to point out is that if there was one 128x128px image it would be simple. The images in general can be fixed, but this can be time consuming as sometimes there is not a correctly sized image to work with, using the stock icon adds a little time but nothing compared to editing images, maybe this can be done with a server side auto crop image script in the future.

Lorak990 (talk)08:58, 28 November 2012

Should I revert those pages back to using the 40px icons? I was trying to save time, not make work.

Klaxxin (talk)09:01, 28 November 2012

id say revert for now on equipment pages, consumables/tactics/officers/utilities/trinkets/ships/crew use a standard 128px image so the current template works for them, thinking a clone of the template with the icon for equipment pages.

Lorak990 (talk)10:59, 28 November 2012