Help!

Or search support forum

What's Global Moxie?

Global Moxie is the hypertext laboratory of Josh Clark, a writer, programmer and designer whose projects include the Big Medium web content management system. Josh spins words and code from his multimedia studio in Paris, France.

What's Big Medium?

Big Medium is flexible, easy-to-use server software for creating and editing websites directly from your browser. Check out the features or download now.

On Shelves

Cover: Best iPhone Apps

Best iPhone Apps is my guide to more than 200 gee-whiz apps to unlock the full potential of your favorite gadget. Order yours now.

iWork ’09: The Missing Manual

iWork ’09: The Missing Manual is my fun and comprehensive book about Apple’s remarkable word processor, presentation software, and spreadsheet program.
Order yours now.

Moxiemail

Enter your e-mail to receive occasional updates:

Can Big Medium add watermarks to my images?

Question

Can Big Medium add watermarks to my images?

Answer

Yes, with the help of a plugin.

This plugin applies a transparent watermark to image files added to Big Medium’s image library. The watermark will be applied to all new images added to the library after the plugin is installed.

Red Umbrellas - Chinese New Year 2008
Example of a watermark automatically added to an image.

Requirements

  • Big Medium 2.0.1 or higher

  • ImageMagick and PerlMagick. If you’re not sure if you have these installed, run Big Medium’s compatibility checker. If it tells you that ImageMagick is installed, then you’re all set.

For best results, your watermark image should be a black-and-white PNG image with a transparent background.

Settings

The plugin adds a new “Watermarks” category to your sites’ HTML preferences (“Settings>HTML Preferences”). Here you can:

  • Enable/disable watermarks on new images (enabled by default).

  • Specify the watermark image to use (the image must be located in the moxiedata directory). The default is wmark_image.png.

  • Specify the position of the watermark on your images (centered by default).

Watermark plugin preferences
Watermark plugin preferences.

Also, the code for the watermark.pl file includes a section labeled “SETTINGS”; modify these settings to suit your needs. These settings apply to all watermarks in all sites of your Big Medium installation:

  • $OPACITY: A number between 0 and 1 indicating how opaque the watermark should be. The higher the number, the more opaque; the lower the number, the more transparent.

  • %MARK_SIZE: Set to 1 for each image size to which you want to add the watermark. By default, the plugin adds watermarks to all built-in image sizes except for thumbnail (60x60) and x-small (100x100).

Installation

Watermark plugin v1.2 (11 KB)
Download the watermark plugin.
  1. Unzip the plugin download file to get a directory named bm-watermarks. The plugin files are located inside that directory.

  2. Set your FTP client to “plain text” or “ascii” mode.

  3. Upload watermark.pl and watermark-prefs.pm to the moxiebin/plugins directory on your server:

    moxiebin/plugins/watermark.pl
    moxiebin/plugins/watermark-prefs.pm
    
  4. Set your FTP client to “binary” or “automatic” mode.

  5. Upload wmark_image.png (or replace with your own watermark image named wmark_image.png) to the server’s moxiedata directory:

    moxiedata/wmark_image.png
    

You’re done! Going forward, all new images added to your image library will have the watermark applied.

Version history

Version 1.2 September 15, 2008: Added graceful error handling when the watermark image is missing.

Version 1.1. June 6, 2008: Added per-site preferences that allow you to enable/disable watermarks, set watermark position and choose image files for individual sites.

Download Big Medium
Try it free for 30 days, or buy to unlock.

Beautiful

"Beautiful interface. Installed with absolutely no problem. I AM IMPRESSED."
—Tom Marks

"This CMS has proven to be great and adaptable to the designer's vision, making my life easier."
—Scott Jordison

"Big Medium is everything I hoped for and more, and we're receiving a lot of compliments on the site's functionality. Moreso, I'd like to thank you for your exemplary customer service. You truly made me feel that you had a personal stake in our implementation, and gave me the confidence that when we went live, everything would be perfect. If only every tech-related experience was like this one."
—Andrew McKay

More praise for Big Medium