audio blog book bookmarking business chat cms collaboration crm design directory email event finance food framework game green health job knowledge local management maps marketing mobile networking news organize pet philanthropy photo productivity project real-estate rss script search share sports social start-page stats storage store tools travel video web-os
Smart Image Resizer

Easy-to-use PHP script for resizing images

http://shiftingpixel.com/2008/03/03/smart-image-resizer/

Tagged with: script

Posted on: March 21, 2008

total 0 ratings

One of the challenges that comes with maintaining a graphic-intensive website like Shifting Pixel is finding a way to get high quality images throughout the site with as little effort as possible. To tackle this, I developed the Smart Image Resizer and have been using it around the site for the past few months. I couldn’t be happier. The major advantage of this script is that it allows me to resize and crop any image on my website without touching the actual image or writing any code. I upload each image once at a high enough resolution and can then reuse it at any size I want, anywhere I want. It doesn’t matter if the images are in a post, on a page, or in a template file–it just works. All of the magic is done through the query string part of the URL in the src attribute of the img tag. And, if this wasn’t a big enough time-saver for me right now, it’ll be a huge time-saver the next time I decide to redesign my site. It’s a relief that I won’t have to go through to resize and re-upload a thousand photos to make sure they look right–I’ll just have to change the links to them and I’ll be all set. Features: * Resizes JPEGs, GIFs, and PNGs. * Intelligently sharpens for crisp photos at any size. * Can crop based on width:height ratios. * Can color-fill transparent GIFs and PNGs. * Built-in caching keeps image variations for optimal performance.

Leave a comment for Smart Image Resizer:
Featured App And Site
Google Ads