Coppermine Photo Gallery v1.5.x: Documentation and Manual

Table of Contents


Watermarking is a config option in Coppermine that can be enabled if needed. By default, watermarking is turned off. The settings can be found in Configuration → Image watermarking.

Watermarking works both with with ImageMagick and GD2. The watermark image should be a .png file. You can make it's background transparent. You'll have to enter the absolute or relative path to the watermark image in config. Preset is a sample watermark in coppermines images directory. So you should see this sample when enabling the watermark function and upload a test image.

The transparency settings in config will make the entire watermark transparent to the image background (ImageMagick only).

There's a new nifty feature. Automatically downsizing of the watermark image when the uploaded picture is smaller than the width you set (Downsize watermark if width of an picture is smaller than entered value). That is the 100% reference point. Resizing of the watermark is linear (0 to disable)).

If you e.g. enter here 1024 (like Stramm, the creator of the Watermarking features, did on the demo site of his modpack for cpg1.4.x where the watermarking was introduced first), then the 100% reference is at images with a width of 1024px or bigger. If you upload pics > 1024px the watermark image won't get resized and attached with its full size. If you let coppermine create an intermediate image with a width of 400 pics, then the watermark will get downsized to 39% of it's original size. Is the fullsized e.g. 512px, then the watermark will have 50% of it's orig size. Of course this sucks some CPU. And it's working excellent together with Auto resize images that are larger than max width or height (set it to the same as you used for the 100% reference... in the example 1024). This way the watermark will always fit perfectly onto your images.

To undo a watermark turn off watermarking by setting Watermark Image to "no" and use the admin tools to re-create your files.

If you use GD2, then the transparency setting in config has no function. If you want the watermark to be transparent against the background, then reduce layer transparency of your watermark image in your paint proggy to e.g. 50 (has been done for the sample watermark)...


In an ideal world, everyone would respect the intelectual properties of others and not steal images from others. But the world is not ideal, and the way the www browsers work (you don't actually view internet "sites on the fly", but your browser downloads everything before displaying it to you) of course makes it easy for others to steal your pics. That's one of the reasons why watermarking has been invented: you can tag your images with a watermark that allows others to see your images, but those who steal them will have to live with the watermark and therefore can hardly claim that they own the images.

There is a thin line though between making sure that your intelectual properties are respected and nagging your legitimate site visitors: if a watermark is at near the border of an image, a thief might get away with just cropping your image. If the watermark is to big or to much "in the way", the watermark will distract too much and your visitors will leave.

That's why users have requested other means of protection against content thiefs - here are just some of the mechanisms:

Client-sided watermarking

Watermarking on the server is a resources-intensive process that can bring down your server or bring you in troubles with your webhost because they are concerned about the resources usage. Additionally, a user who knows his way around in coppermine can figure out the path to the full-sized original image that is not watermarked and get that.

The only thing that will permanently fix this is client-sided watermarking. In other words: apply a permanent watermark to your images on your client before even uploading them to your server. Keep the unmarked originals only on your client and not on your webserver.

There are many tools that can be used to apply a watermark to your files on your client, and some even can accomplish this in batches, e.g. the free tool Picture Shark.