Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPit.net:
Image manipulation with PHP & the GD library (Part 2)
Aug 14, 2006 @ 18:39:51

New on PHPit.net today is part two of their series covering working with images in PHP through the GD graphics library.

In this second part of the "Image manipulation with PHP & the GD library" article series you will learn how to resize images, create thumbnails, watermark images and more.

They start with resizing images, showing how to grab the current size and alter it to modify the output (both in a set and proportional way). With that code in place, they take the next logical step - an automatic thumbnail creator from a file upload. Finally, they show how to help protect your images using a watermark - their example is a "Image by YourWebsite.com" string of text placed on the image.

tagged: image manipulation part2 gd watermark thumbnail resize image manipulation part2 gd watermark thumbnail resize

Link:


Trending Topics: