CSS Sprites vs Sprites
public
Rob Loach - Mon, 2008-09-29 14:46
http://drupal.org/project/sprites
http://drupal.org/project/css_sprites
CSS Sprites doesn't even seem to have any code activity.....
Sitewide tags: css sprites · sprites



Shame
A module for this would be completely awesome - where the hell did the love go?
Web Development in Nottingham, UK by Kineta Systems
and wim discussed it...
Wim discussed it on his blog too: http://wimleers.com/blog/css-sprite-generator-open-sourced (among other places)
'sprites' was supposed to be
'sprites' was supposed to be further developed by one of the Workhabit guys, I have not heard back from him and there have been no commits so
I cannot really say what is going on there. I can almost guarantee that these modules will tank though, it is NOT hard to create sprites manually, they will be precise, correct, simple to implement, and logical in terms of grouping. Creating sprites dynamically in this manor is kind of a waste I was considering removing the project until he contacted me.
Tj Holowaychuk
Vision Media - Victoria BC Web Design
Victoria British Columbia Web Design School
Hm.
Can you elaborate on how it's "wasteful"?? I would have thought that 30-40 http requests per page for insignificant images was more wasteful, myself? This module is awesome in theory - are the practicalities so different?
Web Development in Nottingham, UK by Kineta Systems
Sprites when implemented are
Sprites when implemented are cool. That's not the problem.
But modules that try to automate creating them by knitting together images via server-side configs and scripts and image libraries (vs making a PNG in an image prog - which is the core skill of people that want to USE sprites) is certainly clunky - unless it ends up with the cool-UI-from-hell.
Good luck to them, but it's more a programming exercise than a solution.
(unless, as I say, it turns out cooler than fireworks)
In theory its fantastic yes,
In theory its fantastic yes, but like i mentioned there is a lot of thought that does/should go into creating sprites manually, which cannot always be reproduced programmatically. Personally I think this should almost be left as a design choice because there are pros and cons to deciding what is and what is not going to be part of a sprite collection, secondly there are many cases where the display of the sprite is done in such a matter that it requires specific white space at very specific points in order to not display bits of other sprites, which again is nothing we can extrapolate via PHP.
Image libraries also seem to have a rough time compressing these, I can double the quality, and decrease the filesize in half simply using Photoshop, and to be honest CSS Sprites are something that everyone should understand, they are really not hard to create, its just another skill.
Tj Holowaychuk
Vision Media - Victoria BC Web Design
Victoria British Columbia Web Design School
another sprite tool joins the fray, with releases for 5 and 6
another sprite tool joins the fray, with releases for 5 and 6
http://drupal.org/project/imageset