...

View Full Version : How to write on un uploaded image



Mido™
05-17-2011, 06:13 PM
I need to write a text "site name for example" on the uploaded image which users uploads via my script.
hope if any one could give me the solution.

Fou-Lu
05-17-2011, 06:23 PM
I'm not sure the legalities you may be getting into by writing your site information on someone else's image, but you would use the gdlibrary's imagefttext or imagettftext functions.
See the links below which include examples:
http://ca3.php.net/manual/en/function.imagefttext.php
http://ca3.php.net/manual/en/function.imagettftext.php

Mido™
05-18-2011, 09:23 PM
Thanks man, and the user which I do this for is need this to add his site name in the pics that he uploads as he couldn't use photoshop well.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum