https://github.com/jimj92120/wordpress-plugin-image-watermark
Add a watermark to your images in WordPress Media Library.
https://github.com/jimj92120/wordpress-plugin-image-watermark
backbonejs image php reactjs wordpress wordpress-media-library wordpress-plugin wordpress-settings
Last synced: about 1 month ago
JSON representation
Add a watermark to your images in WordPress Media Library.
- Host: GitHub
- URL: https://github.com/jimj92120/wordpress-plugin-image-watermark
- Owner: JimJ92120
- Created: 2023-02-12T14:11:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T05:33:24.000Z (about 2 years ago)
- Last Synced: 2025-01-24T19:23:01.547Z (3 months ago)
- Topics: backbonejs, image, php, reactjs, wordpress, wordpress-media-library, wordpress-plugin, wordpress-settings
- Language: JavaScript
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
### Add for a single image
1. In **Media > Library**, select an Image and click on **Add watermark** button to generate the **marked** image.
2. Once the new marked image created, a popup will redirect to the new image
3. Refresh the page to see the new marked image in the **Media Library**
### Add for multiple images
1. In **Media > Library**, click on **Bulk Select** button and select images to mark and click on **Add Watermark** button
2. Once the new marked images created, a popup will show the count of new images added
---
## Development
Project is using:
- `@wordpress/env` for local development
- `composer` for `autoload` and namespaces
- `@wordpress/scripts` for assets building and compilation1. Install `npm` and `composer` dependencies
```sh
npm install
```2. Run `wp-env` environment
```sh
npm run wp-env start
```3. Watch `src/` directory
```sh
npm run start
```4. Build `src/` directory for **production**
```sh
npm run build
```---