Enabling Watermarking

With EnterMedia, you can watermark all images in all catalogs or pick and choose what catalogs should have watermarked images. You can also configure where the watermarks are placed on the image.

  • Enabling Watermarks

    In EnterMedia you can have very fine-grained control over what gets watermarked. I will give examples on how to watermark specific images all they way up to watermarking the entire site.

    Single Catalog
    You can enable watermarking for a single catalog through the Security UI. To do this, follow these steps:
    • Go to the settings area of your EnterMedia site.
    • Choose the catalog you want to watermark from the "Edit Catalogs" list.
    • Go to the "Security" tab
    • Find the "forcewatermark" permission
    • If there is an "edit" link next to "forcewatermark", click it. Otherwise, click "override", then find the override version of "forcewatermark" at the top of the list, and click "edit" there.
    • Change the value to "True" and click the "Save" button.

    Other watermarking options require editing some XML manually. More information is listed below:
    Site-Wide Watermarking
    • File to Add Property to: "/webapp/entermedia/catalog/_site.xconf"
    • Property to Add: "<property name="forcewatermark">true</property>"
    Specific Sized Images
    • File to Add Property to: "/webapp/WEB-INF/base/entermedia/catalog/downloads/preview/{size}/_site.xconf"
    • Property to Add: "<property name="forcewatermark">true</property>"

    Sizes:

    • thumb - 150x150 - thumbnail used on results page.
    • medium - 300x300 - image used as the hover image.
    • large - 600x600 - download size option.
    • cache - 800x600 - image used on media viewer page.

     
  • Watermark Placement

    Just as you have fine-grained control over what gets watermarked you also have fine-grained control over where the watermark is placed. Setting watermark placement is very easy all that is involved is modifying properties in XML files. See the chapter titled Online HTML/Text Editing , for more information on editing files in EnterMedia.

     

    Watermark Position Options

     

    • north
    • northeast
    • east
    • southeast
    • south
    • southwest
    • west
    • northwest
    • center
    • tile

    • Site-Wide Watermark Position
      File to Add Property to:
      /webapp/WEB-INF/base/entermedia/catalog/_site.xconf
      Property to Add:
      <property name="watermarkplacement">{position}</property>
    • Specific Catalog Position
      File to Add Property to:
      /webapp/media/browse/{catalog name}/_site.xconf
      Property to Add:
      <property name="watermarkplacement">{position}</property>
    • Specific Sized Image Position
      File to Add Property to:
      /webapp/WEB-INF/base/entermedia/catalog/downloads/preview/{size}/_site.xconf
      Property to Add:
      <property name="watermarkplacement">{position}</property>
  • NOTE: If the forcewatermark or the watermarkplacement properties are set in multiple files the most specific file will determine how the watermark is applied. For example, the properties set on a specific sized image will override properties set for all catalogs.

  • Location of Watermark Image

    The image used for watermarking is /webapp/WEB-INF/base/themes/darktabs/entermedia/images/watermark.png. If you would like to use a different image for watermarking you can either replace the previously mentioned image, or if you created your own theme, create an image called watermark in /webapp/WEB-INF/base/themes/{your theme}/entermedia/images. For more information on creating your own theme see the chapter on theme creation.