Re: Javascript image changing stuff (upshrinks, etc).
Reply #2 –
Why? There's no need to. Rolling them all into one is easy. I mean easy in code terms, not just in gfx terms.
Re: Javascript image changing stuff (upshrinks, etc).
Reply #4 –
It's not just to do with similarity in that sense. It's more to do with what goes together well for consolidating them into one image. What they look like and where you call them isn't really relevant.
Putting the quick edit icon into the quickbuttons sprite would be a bad idea. It'd be much easier to sprite it with the collapse/expand icons. These three are better suited to a horizontal sprite, not a vertical one like the quickbuttons. Same applies to the board icons. You'd be better off spriting them into a horizontal strip. This will let you use the result without adding extra elements to hold the new image (or more accurately, to only display the parts you want were you want them).
However, we probably should keep sprites simple, so on second thought I'd suggest doing the four board icons as one horizontal strip (on/on2/off/redirect) sized at 264x48. The three little ones (new_some, new_none, new_redirect) and the quick edit and the expand/collapse pair would make natural allies in another horizontal strip. That one would be sized at 192x24.
Obviously it'd be possible to extend spriting to other icons, but if just wanting to deal with those 10 that's how I'd do it. We only need one expand indicator and one collapse indicator. The current thing of having upshrink, upshrink2, expand and collapse png's is just pointless duplication.
If someone wants to expand stuff later they can still do that.
Re: Javascript image changing stuff (upshrinks, etc).
Reply #5 –
Like this (just as a example).