Watermark My Image

Description

This plugin enables you to watermark your images, by placing a simple, yet very customizable, watermark beneath the original images (much like the 9GAG watermark).

You can customize the height, the background color of the watermark, you can also choose which image sizes to apply the watermark to and the JPEG quality of the image (if the image is in JPEG format).

Watermark My Image enables you to independently customize two texts, by modifying their font family, font size and color. You can specify a number of values for each text from which a random row will be selected for each image.

You can also customize the text alignment, the spacing between the two texts and the x (if the text is aligned to the left, it’s calculated from the left of the image to the left of text 1; if the text is aligned to the right, it’s calculated from the right of the image to the right of text 2) and y (calculated from the top of the watermark to the heighest point in both texts) offset.

Requirements:

GD extension for PHP

FreeType Library

DOM (if you want to generate watermarks for past images)

P.S.: You can upload your own fonts into the `/wp-content/plugins/watermark-my-image/fonts/` directory

NOTE: If the folder `/wp-content/plugins/watermark-my-image/` contains `wp-watermark.php`, please rename it to `watermark-my-image.php`. I’m sorry for the trouble.

IMPORTANT: This plugin is meant to place a watermark underneath the original image. It is simply a clone of the system 9GAG uses. It is not meant to place a watemark over the original image. If you need something else, consider downloading another plugin. Please rate it for what it’s supposed to do. Thank you.

VERY IMPORTANT: Please backup all the files you are going to watermark and the posts & postmeta mysql tables before you start the watermarking process !

Installation

Upload the `watermark-my-image/` folder to the `/wp-content/plugins/` directory.

Activate Watermark My Image through the ‘Plugins’ menu in WordPress.

Go to the Watermark My Image settings page and customize the settings.

FAQ

Where can I get the attachment ids from ?

You can see the attachment ids simply by going to yoursite/wp-admin/upload.php and hovering over the images. It’s the number right after the attachment_id parameter.

I do not like the watermarks anymore ! How do I remove them ?

In this case, I’m sorry to say, but you will have to do this by yourself. You should have read that **VERY IMPORTANT** note :(

Screenshots

Watermark My Image configuration

Watermark My Image text 1 configuration

Example of watermarked picture

Apply watermark to images that were uploaded before the plugin was installed

Changelog

0.21

New feature: the plugin now processes custom sized images

New feature: the watermark can now be placed inside the original image

0.2

New feature: watermarking images that were uploaded before the plugin was installed

Hi Marian,
Great work on this plugin, i totally love it. However, do you have an idea on how i could apply it for existing images on my blog? Not necessarily a setup or option in the plugin, maybe a php file i could write on the server which takes a certain folder as parameter an runs your code over the images there.

Thanks and good choice with Ovidius univ. Ms Crenguta is a good professor.

hello
Is it possible you integrate the option to add the logo of the site mixed with text?. If it’s not in your plans could you please let me know if you can do this customization for me and would you send me a quote?
Thank you

How do you want to add the logo of the site, as a small image on the colored stripe? If so, I have created an advanced version of Watermark My Image, but it’s a standalone class, not a WordPress plugin. Anyway, if you are interested, you can find it here: Watermark My Image Standalone Class.

I might create a PRO version of the WordPress plugin, but I am currently working on something else.

Hi, theanks for great plugin. I’m still amazed with wordpress that whenever i need something i just google it and there’s already a plugin ready. I have a problem with attachments ID. I tried the way you described to find it but on the bottom of the page I just get an url with photos name. No id. I’ve searched the web to find a solution and there are only some peices of html code to solve that. Do you know hy i don’t get the attachments ID where it should be? Many thanks!

Hello ilym! I’m glad you like my little plugin. Indeed, you can find pretty much anything for WordPress on Google.

Let me explain again, maybe you got something wrong:

– You need to go to the Media Library page (/wp-admin/upload.php)
– Hover an image and you should get a tooltip (not the tooltip which appears next to the mouse pointer) at the bottom of the browser saying something like /wp-admin/media.php?attachment_id=877&action=edit

When the watermark is not placed inside image, the thumbnails of images are not displayed correctly in admin section (Media gallery, Post’s thumbnail, etc…). WordPress still tries to reach images with sizes as if the watermark is placed inside them (not the images with size that take into account the increased height due to watermark adding).

thank you, i uploaded an Persian font to that folder and selected the font in configuration but didn’t solve the problem. (and Tahoma and Arial fonts support Persian/Arabic already exists in fonts folder)
the problem is letters are broken,
for example the word “Hi” in Persian should be like this:
“سلام”
but in this plugin that word is like this:
“س ل ا م”
that should be “سلام” not “س ل ا م”