Watermarking

From ResourceSpace Documentation Wiki

Jump to: navigation, search
Watermarks can be placed over images. Watermarked images can then be displayed instead of the normal thumbnails or previews for selected usergroups.

ImageMagick must be installed. Currently watermarking is only available in the development base code in Subversion.

Add the following to your config.php:

$watermark="gfx/watermark.png";

This will use the default watermark (which is excessively visible for demonstration purposes - your own watermark should probably be more transparent). You can use your own and alter the above line to point to it. It should be a PNG file, suitable transparent so your photo is visible underneath.

Watermarked images will be generated when new resources are uploaded. To regenerate previews for existing resources use the update_previews.php script.

If you want a group to receive watermarked images, give the group the 'w' pemission. Ideally this group should not have the 'g' permission so they are unable to download the higher resolution files which will not be watermarked.

Personal tools