views:

202

answers:

4

CSS Spriting can really help performance, but it's not the easiest thing to read and maintain. Are there any tools that would let me code the images individually but aggregate them up and replace the HTML with the correct subset of the montage?

I'm specifically thinking a Ruby on Rails plugin, but if there's a package for another language, I'd be happy to port it.

+4  A: 

SmartSprites

Try it.

Warrior
"Step 1 - code the site as you would regularly. Step 5 - Check to make sure your design still works. Chances are, it won't."Where's the time-saving part?
Mark Hurd
I like it, but I'm not quite sold yet. It's a _good_ answer. I'm awaiting others before awarding "best."
James A. Rosen
I just looked through the instructions... Shit! It would take way less time to do it manually!
musicfreak
As of today (23/07/2010), theis url is not working...
Daniel Ribeiro
+1  A: 

I haven't tried it, but image_bundle appears to be what you want:

http://github.com/bartt/image_bundle/tree/master

kingryan
A: 

image_bundle is only for RMagick. I am trying to port it over to imagescience.

Please use the "comment" feature to reply to others, instead of making a new answer. Welcome to Stack Overflow!
musicfreak
+1  A: 

This one seems promising http://github.com/sblackstone/auto_sprite

Daniel Ribeiro