Get A Sys Admin

sysadmin linux open source centos redhat rhel ubuntu apache mysql amazon ec2 s3 tutorial

Nov 26, 2009

Wordpress Reflection Theme plus YAPB and Watermark Plugin

One of my clients required a photo blog created in no time so I decided to go with Wordpress and YAPB plugin.

I will not tell you how to install Wordpress (2.8.6 atm) since it's pretty straight forward and there are many sites that provide such info.

Adding themes and plugins to Wordpress is pretty easy, just unpack the themes in wp-content/themes and plugins in wp-content/plugins. No big deal.

After installing both YAPB and Reflection theme go to your Admin Dashboard at Appearance / Themes and activate Reflection. Also make sure you visit Plugins and you activate Yet Another PhotoBlog.

There is not much to customize after you are done installing and activating the theme and plugin. Just go to Settings / YAPB and uncheck everything at Automatic Image Insertion or you will get some weird results(double picture showing in Reflection photo blog).

Of course the client also wanted watermark on all his precious photos. So I found this plugin called Marekki’s Watermark. Just download it and unpack in the plugins directory of the blog. As usual go to Admin Dashboard and activate it from Plugins. You have a few settings for it, no doubt you can figure on your own what they do.

Because of the YAPB plugin of course the installation instructions for watermark plugin didn't work. Instead of changing the file they recommend just go to wp-content/plugins/yet-another-photoblog/lib and edit the file "Yapb.class.php". Look for a line containing:
$image = new YapbImage(null, $post_id, $uri);
and add before it this line:
MM_Execute_WM(ABSPATH . $uri,'');
Voila, you have a cool looking photo blog and all the pictures you upload to it have a watermark. All in less than half an hour which is very nice!

If you are really interested in seeing the blog you can check the result here: Photo Revolution.

Labels: , , , , ,

1 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home