26266Overlapping Images with GD by Chaos Zenhttp://codewalkers.com/tutorials/78/1.htmlOften, tutorials covering the GD libraries and it's available functions in PHP will show how to overlay text onto images, manipulate images (resize, flip, rotate, etc) or how to dynamicly generate charts or graphs from numerical data. I have not seen many demonstrating how to combine images (or moreso, placing a transparent forground image over a background image).PHP > Tips and Tutorials > Image ManipulationOct 15, 2006Chaos Zen
This tutorial focuses on a thumbnail generation script I wrote for the Accidental President site. Rather than generating a smaller representation of the image, it cuts out a section of the photograph to create an obscure snapshot of the photo itself. The thumbnail's size is variable also, so the script be used across different sites to create different sized thumbnails where needed.
This tutorial will teach you how to make thumbnails from an upload script in PHP. I will use a 100*100 thumbnail as an example. You can change the dimensions to whatever you like.
Before we really get into things, let me clue you into something. I am not a graphic designer. I have no urge to be and have no talent to be. To put it bluntly, my graphics suck. Also, to use what you learn in this tutorial, you will need PHP 4.0.6 or higher and at least GD 2.0.1
So far in Webmonkey, you've seen how PHP can be used for databasing and site navigation. It's pretty bland. In this article we're going to leave that dry stuff behind and concentrate on PHP's image-creation abilities.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.