13Jul/1016
PHP Tutorials: Automatically Watermark Image on Upload
This will automatically upload, save and display a watermarked image. The user will upload an image, it will then be processed and an external watermark image will be placed in the bottom right hand corner. The watermarked image will then be saved and is ready to be used. FORUM phpacademy.org TWITTER twitter.com BLOG blog.phpacademy.org
No related posts.


July 11th, 2010 - 21:08
absolutely awesome! thanks
July 11th, 2010 - 21:21
Thanks so much.
July 11th, 2010 - 22:14
i love you man
July 11th, 2010 - 23:39
Good tutorial. Great to see others make mistakes though haha. I almost shouted at the screen with the form method mistake.
A suggestion when using getimagesize() is to use list($x_pos,$y_pos) = getimagesize(’image’);
Then do, $x_pos -= $watermark + 10; and same with $y_pos.
Also you could have used getimagesize() on the watermark image as well.
Great tutorial overall though, will surely help loads of people.
July 12th, 2010 - 00:38
nice!! i liked
July 12th, 2010 - 00:41
imagecreatefrompng?
July 12th, 2010 - 01:43
Thank you
July 12th, 2010 - 08:37
Thanks..!
July 12th, 2010 - 11:04
@lifeg0eson666 I knew someone would be shouting at the screen. I’ve done it in the past, watching tutorials. Thanks for the feedback.
July 12th, 2010 - 13:46
Alex can you make a tutoial that could upload Video into mysql in php and display it. I tried so many times to find a tutoial but I couldn’t find. please Alex…
please please alex I really need it.
July 12th, 2010 - 20:11
@cyrusxxx1 Uploading a video into a MySQL database is not a good idea. By doing this you’re storing a LOT of binary data, hence you’ll end up with a huge database file size. It would be better to upload the video to a file and use it that way. I may do a tutorial on uploading and playing videos in the future.
July 13th, 2010 - 02:53
Most useful tutorial you’ve uploaded so far
Love it, and keep up the good work.
July 13th, 2010 - 08:46
Thank you very, very much! Realy great
July 13th, 2010 - 09:28
@PGReviews worked for me
July 13th, 2010 - 16:35
FUCK YOU!
July 13th, 2010 - 17:21
Thanks Alex… great tutorial again