So, here is the quick PHP script that you can add to your hosting directory and then run it from a browser. So two hours and one minute to add a watermark to a large number of pictures – amazing. It would take days!Īfter I wrote the code, it took less than ONE MINUTE to add the watermark to over 1,500 pictures on my hosting servers that have a 2.8 GHz processor. Sure, it took a few hours to code this and get it working, but think of the amount of time it would take if I were to add the graphic watermark to over 1,500 pictures that I already have on my site. Knowing that the picture galleries could add an image watermark to a picture when adding it to the site, I knew that there must be a way to add a watermark to a bulk of pictures.įinally after doing some coding and work for a couple of hours, I found the solution. The one I tried in GIMP actually used a map effect that made the text look embedded into the picture – but in some of the pictures, you could barely see the watermark. There were some programs out there that did it – and even some scripts in Gimp – but the ones I found only allowed you to add a text copyright watermark to the graphics. So I began looking for a way to add a watermark to a batch of pictures. I figured that I could simply turn it on at any point, and using the GD library of PHP, the watermark would simply appear over all of the images. Up until today, I have had the watermark feature disabled. The gallery that I use allows for a watermark – but the watermark is only applied to those pictures that you add AFTER you enable the watermark feature. ![]() ![]() Today, I was adding more pictures and I thought – maybe I should start protecting my pictures with a watermark in case someone tried to use them on their site. Over the years, I have had a lot of pictures that I’ve added to my picture gallery.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |