PHPackages                             bryglab/craft-watermark - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. bryglab/craft-watermark

ActiveCraft-plugin[Image &amp; Media](/categories/media)

bryglab/craft-watermark
=======================

A Craft CMS Plugin to add watermarks to images

5.0.2(2y ago)022[5 issues](https://github.com/bryglab/watermark/issues)proprietaryPHPPHP &gt;=8.2.0

Since Apr 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bryglab/watermark)[ Packagist](https://packagist.org/packages/bryglab/craft-watermark)[ RSS](/packages/bryglab-craft-watermark/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

[![plugin-1](https://private-user-images.githubusercontent.com/8834024/319272491-3316d867-0036-4d65-b925-289a275dcd3b.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU3NjUzMzIsIm5iZiI6MTc3NTc2NTAzMiwicGF0aCI6Ii84ODM0MDI0LzMxOTI3MjQ5MS0zMzE2ZDg2Ny0wMDM2LTRkNjUtYjkyNS0yODlhMjc1ZGNkM2IuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDlUMjAwMzUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWJkYTFkZTJlNzhmYTM2NDdjMzNkZWI0NmJkN2M3OGE4ZTFlMjFhYmJhZTVjZDg2MjI3ODkyYTNiZjQ2ZTk5ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ALkWhqtsTIBSxMpTPXRXG688UseyiwaGYwV25vJJMXA)](https://private-user-images.githubusercontent.com/8834024/319272491-3316d867-0036-4d65-b925-289a275dcd3b.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU3NjUzMzIsIm5iZiI6MTc3NTc2NTAzMiwicGF0aCI6Ii84ODM0MDI0LzMxOTI3MjQ5MS0zMzE2ZDg2Ny0wMDM2LTRkNjUtYjkyNS0yODlhMjc1ZGNkM2IuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDlUMjAwMzUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWJkYTFkZTJlNzhmYTM2NDdjMzNkZWI0NmJkN2M3OGE4ZTFlMjFhYmJhZTVjZDg2MjI3ODkyYTNiZjQ2ZTk5ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ALkWhqtsTIBSxMpTPXRXG688UseyiwaGYwV25vJJMXA)

Watermark Plugin for Craft CMS
==============================

[](#watermark-plugin-for-craft-cms)

A Craft CMS Plugin to add watermarks to images.
Whether it's a social image or an inline image in your project, you can add a watermark image to it.

Works with both Imagick and GD.

Usage
-----

[](#usage)

Pretty simple, just use the `watermark` filter in your templates, which will return a ***full url (!)*** to the watermarked image.

```
{% set image = entry.image.one() %}

```

The `watermark` filter accepts optional parameters to override the general settings just for your use case:

```
{% set options = {
    transform: 'handle/array',
    asset: 'override settings with an asset object',
    position: 'top-left|top-center|top-right|center-left|center-center|center-right|bottom-left|bottom-center|bottom-right',
    padding: 10,
    width: 100,
    height: 100,
    quality: 75,
    format: 'jpg|png|gif|webp',
    mode: 'fit|stretch'
} %}
{% set image = entry.image.one() | watermark(options) %}
```

Settings
--------

[](#settings)

Please check the plugin settings page in the Craft Control Panel. There are some important settings you should configure before using the filter.

- **Directory**: The directory where the watermarked images are stored.
- **Watermark Image**: The image to use as a watermark.
- **Position**: The position of the watermark on the image.
- **Padding**: The padding around the watermark.
- **Width**: The width of the watermark.
- **Height**: The height of the watermark.
- **Quality**: The quality of the output image.
- **Format**: The format of the output image.

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Watermark”. Then press “Install”.

#### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require bryglab/watermark

# tell Craft to install the plugin
./craft plugin/install watermark
```

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.0.2 or later.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

775d ago

Major Versions

4.0.1 → 5.0.12024-04-03

PHP version history (2 changes)5.0.0PHP &gt;=8.2.0

4.0.0PHP &gt;=8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3d3d8435f4b358bce24d7d2ce8b13d354a56f82a5bb3c23bfed4fe347c2d6d5?d=identicon)[bryglab](/maintainers/bryglab)

---

Top Contributors

[![stefanladner](https://avatars.githubusercontent.com/u/8834024?v=4)](https://github.com/stefanladner "stefanladner (22 commits)")

---

Tags

craft-plugincraft4craft5craftcmswatermarkpluginimageimage manipulationwatermarkcraftcms

### Embed Badge

![Health badge](/badges/bryglab-craft-watermark/health.svg)

```
[![Health](https://phpackages.com/badges/bryglab-craft-watermark/health.svg)](https://phpackages.com/packages/bryglab-craft-watermark)
```

###  Alternatives

[nystudio107/craft-imageoptimize

Automatically create &amp; optimize responsive image transforms, using either native Craft transforms or a service like imgix, with zero template changes.

232337.2k16](/packages/nystudio107-craft-imageoptimize)[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[coldume/imagecraft

A reliable and extensible PHP image manipulation library

10133.7k2](/packages/coldume-imagecraft)[carlcs/craft-assetmetadata

Asset Metadata plugin for Craft CMS

316.8k](/packages/carlcs-craft-assetmetadata)[marionnewlevant/picture

Generate responsive &lt;picture&gt; and &lt;img&gt; elements based on configuration.

1213.8k](/packages/marionnewlevant-picture)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
