...

View Full Version : add site name on uploaded image dynamicallyl



mrjameer
03-17-2007, 03:39 PM
hi,

whenever a user will upload the images on my site,i want to add my sitename dynamically on each and every image.any of your ideas will be appreciated

thanks
mrjameer

mlseim
03-17-2007, 04:51 PM
That's called "watermarking" ...

http://www.google.com/search?hl=en&q=php+gd+watermarking&btnG=Google+Search

You have a couple of options. To watermark the image before you
save it on the server (thus it becomes permanent to the image), or
saving the image as-is and watermarking only when the image is
displayed on your site (on-the-fly watermarking).

Len Whistler
03-18-2007, 12:13 AM
I'm watermarking the images as they are displayed, one big advantage is that if I decided to change the wording I don't have to redo the current images. You will need to study the PHP function:

imagettftext();

Other usefull image PHP functions are:

imagegammacorrect (); \\ corrects image gamma for Macs and PC.
imageconvolution (); \\sharpens images.
imagecopyresampled(); \\re-size images for thumbnails.

I use all of the functions above to adjust images on-the-fly for my www.RGBpixels.ca image gallery.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum