=== Thenaynhe Watermark ===
Contributors: thenaynhe
Tags: watermark, image, upload, media, logo
Requires at least: 5.5
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically add an image watermark (your logo) to images when they are uploaded. Control position, size and opacity.

== Description ==

Thenaynhe Watermark stamps a watermark image (such as your logo) onto JPEG and PNG images at the moment they are uploaded to the WordPress Media Library. There is nothing to do per image: configure it once and every new upload is watermarked automatically.

The plugin uses the PHP GD library that ships with most hosting environments, and it preserves the transparency of a PNG watermark while still letting you set a global opacity.

= Features =

* Add an image (logo) watermark to JPEG and PNG uploads
* Nine placement positions (corners, edges and center)
* Adjustable watermark size, expressed as a percentage of the main image width
* Adjustable opacity from 0% to 100%
* Configurable edge margin
* Skip images below a minimum width so small thumbnails are left untouched
* Transparent PNG watermarks are kept transparent
* Simple settings screen with a Media Library picker

= Good to know =

* The watermark is written onto the uploaded file, so it cannot be removed later. Test with a sample upload first.
* Only the original uploaded file is processed. The intermediate thumbnail sizes that WordPress generates are not watermarked.
* This version supports JPEG and PNG uploads. Text-only watermarks and WebP input are not supported yet.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/thenaynhe-watermark` directory, or install the plugin through the Plugins screen in WordPress.
2. Activate the plugin through the Plugins screen.
3. Go to the **Watermark** menu in the admin sidebar.
4. Turn on **Enable watermark**, choose a watermark image, set the position, size and opacity, then save.
5. Upload an image to confirm the result.

== Frequently Asked Questions ==

= Which image formats are supported? =

JPEG and PNG uploads are watermarked. A transparent PNG is recommended for the watermark image itself.

= Does it watermark images that were uploaded before installing the plugin? =

No. Only new uploads are processed. Existing images in the Media Library are left unchanged.

= Will it watermark every thumbnail size? =

No. Only the original uploaded file is watermarked. The smaller sizes WordPress generates are not touched.

= The watermark does not appear. What should I check? =

Make sure the PHP GD library is enabled on your server (the settings screen shows a warning if it is not), that a watermark image has been selected, and that the uploaded image is wider than the "skip images smaller than" value.

= Can the watermark be removed after upload? =

No. The watermark is composited into the file, so keep an unwatermarked copy of important images.

== Screenshots ==

1. The settings screen with position, size and opacity controls.
2. An example image with a watermark applied in the bottom-right corner.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
