Web 2.0, Php, MySQL, HTML, CSS, Wordpress, Javascript, iTouch iPod, iPhone, Adobe…
17 Mar
Smart Image Resizer - Done in PHP. I’m usually not a fan of activating a script through an image tag:
<img src="/image.php/coffee-bean.jpg?width=200&height=200&image=/wp-content/uploads/2008/03/coffee-bean.jpg" alt="Coffee Bean" />
But the author claims “Built-in caching keeps image variations for optimal performance” and there is cropping, so I think this might be useful. Worth a look. [ via David W ]
Tags: PHP

One Response for "PHP Smart Image Resizer"
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.
Leave a reply