plznty Posted January 12, 2010 Share Posted January 12, 2010 I need a code where i can put text over a picture. Help please Link to comment https://forums.phpfreaks.com/topic/188174-html-watermarking/ Share on other sites More sharing options...
cags Posted January 12, 2010 Share Posted January 12, 2010 I don't think this can be done with HTML, you will require a scripting language that has image manipulation functions such as PHP. Link to comment https://forums.phpfreaks.com/topic/188174-html-watermarking/#findComment-993460 Share on other sites More sharing options...
haku Posted January 12, 2010 Share Posted January 12, 2010 That's correct. Link to comment https://forums.phpfreaks.com/topic/188174-html-watermarking/#findComment-993563 Share on other sites More sharing options...
AngelG107 Posted January 13, 2010 Share Posted January 13, 2010 Hello ... i guess someone already mentioned that you cannot do this with HTML, I would recommend you using PHP and any graphics library that would allow you editing them. Here's a link to the GD library : http://www.libgd.org/Main_Page But, you could also try something like : <html> <head> <style type="text/css"> img { position:absolute; left:0px; top:0px; z-index:-1; } h1{color:white;} </style> </head> <body> <h1>SAMPLE SAMPLE SAMPLE SAMPLE <br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/> SAMPLE SAMPLE SAMPLE SAMPLE<br/></h1> <img src="img.jpg" /> </body> </html> I hope i helped you somehow. Link to comment https://forums.phpfreaks.com/topic/188174-html-watermarking/#findComment-993953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.