![]() ![]() The Smart Image Resizer has been released under a Creative Commons Attribution Share Alike 3.0 United States license. Simple and easy and it could save you a fair bit of time. So everything is handled from the src attribute of the img tag. Or resize and crop it into a square like this. You can resize an image with the following code. You simply the download the file for free from S hifting Pixel unzip to your web server and create a writable directory called imagecache. In order to use the Smart Image Resizer you’ll need to have PHP 5.1 or above and you’ll need the GD library installed. It also features built-in caching to keep image variations for optimal performance. The Smart Image Resizer will happily work with JPEGs, PNGs and GIFs. This is a major time saving device and it doesn’t just resize images it can also sharpen them, crop them based on height to width ratios and even color fill transparent PNGs and GIFs. You can reuse the image as many times as you like at any size and wherever you want it. There is no need to modify the image or tweak any code and you only need to upload the image in high resolution once and then the script will take care of the rest. The PHP friendly Smart Image Resizer from Shifting Pixels is an extremely handy wee PHP script that takes all of the pain out of resizing your images. Anyone engaged in website design will inevitably run into problems with resizing images at some stage and it can be annoying and time consuming to use an art package in order to resize them. ![]()
0 Comments
Leave a Reply. |