Protect an image without opening a photo editor
Overlay a logo, a line of text, or both, as the image is served. Configure it once on the schema and the unmarked original stops being reachable through an image URL. On Pro, stack up to six layers into a finished card.
Watermarking is part of ImageWorks: the mark is drawn on the server as the image is served, not in a photo editor before upload. The original stays clean on disk, and the marked version is cached like any other size.
Two kinds of mark
- A logo.
marknames the file,markwandmarkhsize it in pixels or as a share of the image such as15w, andmarkposputs it in one of nine positions.markpadsets the inset andmarkalphathe opacity. - A line of text.
marktextdraws type straight onto the image, in your own TTF or OTF font from the watermark-fonts depot (Roboto Regular otherwise). It spans 40% of the image width unlessmarktextwormarktextsizesays otherwise, so it weighs the same on a thumbnail as on the original. - Readable on any photo.
marktextstrokeandmarktextshadowadd an outline and a drop shadow, sized to the font. - Tiled, for proofs.
marktextpos: tilerepeats the text over the whole image in offset rows, at 30° and 30% opacity by default, so no corner is left clean to crop.marktextrepeatsets how many run across.
Protection, set on the schema
Parameters passed per call are decoration. A watermark block in the property's settings turns the mark into protection:
- No clean original. The mark applies even to a URL with no parameters, so no image URL returns the untouched file.
- The URL cannot remove it. The schema's mark is drawn last, on top of whatever the query string asks for.
- Thumbnails stay clean.
limitis a pixel threshold: smaller renders come back unmarked, larger ones are marked. A request with no size counts as large, and so does a high-density one:w=600&dpr=3is 1800 pixels. - Override where you need to. Settings run schema, then collection, then object, so a stock-photo collection can carry a heavier mark without a template change.
- Swap the logo once. Replace the file under the same name and every image picks up the new mark on its next request.
Layered marks (Pro)
On Pro, one image carries up to six marks, drawn in order, each over the last:
- Colour fills.
markfilllays a flat tint or a fade, solid at one edge and clear at the other. Stack two fades and white text reads even on a white sky. - Wrapped titles. Give
marktextboth a width and a size and a long title wraps over up to three lines, getting smaller only when it still does not fit. - Photos from other records.
markimageplaces an author's or a member's photo, andmarkshape: circlecrops it round. A missing photo leaves out that one layer, not the image. - Share cards. The same layers draw every page's social share image from one overlay in Site SEO, with
${socialTitle}for the page's title. SEO built in covers how.
Below Pro, the layered parameters are left out and the image is drawn without them: plainer, never broken. Standard keeps everything above the layers, a logo, a line of text, tiling and the schema protection.
In practice
What it looks like in a template
{{ cms.media.imagePath('photo', {
w: 1200,
mark: 'logo.png',
markw: '15w',
markpos: 'bottom-right',
markpad: 20,
markalpha: 70
}) }}
A logo watermark at fifteen percent of the image width, inset from the bottom-right corner at seventy percent opacity.
At a glance
What you get
- Logo, text, or both
- mark overlays an image file; marktext renders type onto the image, in one corner or tiled across all of it. Outlines and shadows keep the text readable on any photo.
- Custom fonts
- Upload TTF or OTF files to the watermark-fonts depot and name one with marktextfont. Roboto Regular is used when you do not.
- No clean original
- A schema-level watermark applies even to a URL with no parameters, so the unmarked file is not reachable through an image URL.
- URL parameters cannot win
- The schema's mark is drawn last, on top of whatever the query string asks for, so editing the URL cannot shrink, move or remove it.
- A size threshold
- limit keeps small renders clean while marking anything large enough to be worth taking. A request with no dimensions counts as large, and so does a high-density one.
- Layered marks (Pro)
- Stack up to six marks in one render: a fade behind a wrapped headline, a caption, a logo, and a photo from another record cut to a circle.
Watermarking
Common questions
Can someone remove the watermark by editing the URL?
Not when the watermark is set on the schema. It is drawn last, on top of anything the query string asks for, so a URL parameter cannot change it, and a URL with no parameters is watermarked rather than returned untouched.
Do thumbnails get watermarked too?
Only if you want them to. The limit setting is a pixel threshold — renders below it come back clean, and anything above it, including a request with no dimensions, is marked.
Can I use my own font?
Yes. Upload TTF or OTF fonts to the watermark-fonts depot and name one with marktextfont. The default font is Roboto Regular.
Which edition includes watermarking?
A logo watermark and a text watermark, tiled or not, and the schema settings that protect the original are included in Standard and Pro. Layered marks, colour fills, wrapped text, photos from other records and the share images built on them are Pro. Below Pro those layers are left out and the image is drawn without them, never broken.
Can the watermark cover the whole image?
Yes. Set marktextpos to tile and the text repeats over the whole image in offset rows, faint and angled by default, so there is no clean corner to crop. marktextrepeat sets how many marks run across.
Can it make social share images?
Yes, on Pro. Site SEO takes an overlay of layers with placeholders such as ${socialTitle}, and every page shares a card with its own title on its own image. Each card's address is signed with the site's key, so nobody else can make your site draw their text over your photo.
Try it on a site of your own.
45 days, every Pro feature, no credit card. Build it, hand it to a client, and see what they can and can’t touch.