Bob wrote: > The image handle is all that's needed in imagepng(); > It's the imagestring($img, $fontsize, $xpos, $ypos, $textstring, $col); that > you would put your text variables in. > > You'll want to use your own font, as the max size is 5 in the default text > font, which is fairly small. > > Once you get it working, you can add some variables to be passed to it, as > the text may overlap certain things in the images. Left, center, right, > upper, lower (you have to calculate them yourself) and maybe different light > and dark colours. > > You can use getimagesize($img); to get the mime type and $attr is really > handy. > It's all in the downloadable PHP manual. > > As mentioned previously, you'd need to check if the image exists. > Bob.
03242008 0642 GMT-6 Thanks for the post Bob but you didnt answer the correct question. I have the image overlay with the time and date in a gray box working great. Im working on SAVING it now to a file. The second parameter for the imagepng() is to save to a location. And I finally got that worked out last night as well. It turns out that this is even more finicky with permissions than I had thought. I had both the folder and file set as wadesmart group wadesmart and that didnt work. I changed the folder and file to www-data and that didnt work. I changed the folder to www-data and left the file as owner group wadesmart and that worked. That through me for a loop - but, I got it working. Wade