Jeff Byrnes’ blog about music, gigging in Boston, & random cool geeky things.
Just stumbled across this while updating my copy of Greased Lightbox, a fantastic GreaseMonkey script (for all you Firefox users out there.) It’s called Smart Image Resizer, and it’s a great piece of PHP that can resize images on the fly without modifying the original. Very very cool.
I'm Jeff Byrnes, a bassist, web coder, avid reader, and Mac user. I'm currently employed by Apple as an iPod Genius at one of its retail stores, but I also code websites freelance part-time, and gig constantly for a rotating cast of bands.
This blog is primarily just a collection of my thoughts, although you can find links to my XHTML / CSS coding CV as well as my musical CV.
Jim
July 17th, 2008 at 11:54 am
There is no need to host CPU-intensive thumbnailing scripts like this on your webserver anymore. Instead, you can use a specialized service for remote, on-demand image manipulation like SteadyOffload.
All you have to do is use a custom HTML attribute called “xmanip” with the img tag. This will deliver the thumbnail from one of the globally scattered cache servers:
<img srcx=”image.jpg” xmanip=”RescaleWidth 130″ />
So much easier than all the hassle with GD or ImageMagick! Moreover, this reduces the CPU load of your webserver and saves some bandwidth.
Jeff
July 17th, 2008 at 2:03 pm
Now that is very cool. Thanks!