Skip to content

JimJ92120/wordpress-plugin-image-watermark

Repository files navigation

wordpress-plugin-image-watermark

Add a watermark to your images in WordPress Media Library.


Requirements

For plugin installation

PHP >= 7.4
WordPress >= 5.9

For development

npm >= 6.0
node >= 14.0
composer >= 2.4

or

PHP >= 7.4
WordPress >= 5.9

How to use

  1. Download the .zip file and install Image Watermark plugin in WordPress.

  2. Activate Image Watermark plugin.

  3. In Settings > Media, in Image Watermark section, select the image to use as watermark and its position. set

Add for a single image

  1. In Media > Library, select an Image and click on Add watermark button to generate the marked image. att

  2. Once the new marked image created, a popup will redirect to the new image image

  3. Refresh the page to see the new marked image in the Media Library res

Add for multiple images

  1. In Media > Library, click on Bulk Select button and select images to mark and click on Add Watermark button image

  2. Once the new marked images created, a popup will show the count of new images added image


Development

Project is using:

  • @wordpress/env for local development
  • composer for autoload and namespaces
  • @wordpress/scripts for assets building and compilation
  1. Install npm and composer dependencies
npm install
  1. Run wp-env environment
npm run wp-env start
  1. Watch src/ directory
npm run start
  1. Build src/ directory for production
npm run build