About Chris Morrell

I am a Philadelphia web designer and developer who focuses on PHP development and usable design. I am also the Director of IT for the International Association of Certified Home Inspectors.

Please Note: My site fell victim to a Wordpress security flaw a few weeks ago, and I'm just getting everything back to normal. Please bear with me.

I am currently not accepting any new clients.

Other Sites/Clients

Contact Me

If you need to get in touch with me, my name is Chris and my domain name is cmorrell.com. Think about it.

PHP CSS Sprite Generator

Posted by Chris Morrell on August 22nd, 2008 in Web Development (tagged , , )

A couple of days ago Saul Rosenbaum asked for a little help with a PHP utility he was writing.  I took a crack at it, and we ended up with a nice little class that generates CSS sprites from pairs of images. Saul wrote a great little README for it, but the general gist is that it takes a00.gif and a00_over.gif and creates a new a00.gif that has both images vertically stacked within it (it can do this with large batches of images).

We submitted the files to IndyHall Labs if anyone is interested in using them.  If I have time I’ll be adding some new functionality (Saul added a wishlist in the README file, and I’d definitely love to tackle some of those issues).

You can download the files from GitHub: https://github.com/IndyHallLabs/css-sprite-generator/

No Comments (Respond Now) »

Leave a Reply

Additional comments powered by BackType

Comments & Trackbacks

You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.

More...

@inxilpro

  • Wet Hot American Summer at World Cafe Live. It's free and dead. 2 days ago
  • Would really like something that combines Twitter starred + Google Reader starred/liked + Delicious.com. Does such a thing exist? 6 days ago
  • Also, how can OS X be so rock solid and other Apple-developed software be so buggy? 1 week ago
  • More updates...
Copyright © Chris Morrell, Powered by WordPress, Entry RSS Feed / Comment RSS Feed