View Single Post
Old 04-14-2006, 03:27 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
:stoned Caption and WATERMARK pictures on the fly (part#2)

What this does is takes one pic from one server and watermarks it with a pic from another server , then adds a text caption banner to the top.. all on the fly just by altering the image url you use..

heres the url i used in this example

http://tools.webspacemania.com/ytmnd...parent.gif.png

Theres 3 parts

#1 is "smokey+approved" thats the text to be written on a picture

#2 is the picture to be watermarked ( must be a jpg for this example )
http://motochat.com/uploads/11346674...6_1_151398.jpg

#3 is the watermark ( must be a gif for this example )
http://www.ccm.ece.vt.edu/sysadmin/nc4u-transparent.gif

p.s. make sure to leave ".png" on the end of the image url

example output




example input images






p.s.s. this isn't complicated php , but a cool trick.. if anyone wants the script let me know via icq.
__________________
hatisblack at yahoo.com

Last edited by SmokeyTheBear; 04-14-2006 at 03:29 PM..
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote