PHP class using GD library to manage images: you can resize, crop, rotate, watermark, create thumbnails...