Gallery2 Watermarks on all Images

After much searching and Database queries I found a forum post that explains how to add a url rewrite rule to make all images on a gallery2 site have a watermark. I’m sure also with some massaging it can be applied to different albums, but all I need is all or nothing.

Find the /main.php view note what is before /main.php if anything and replace with second line making sure info before /main.php is intact.
# RewriteRule . /gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteRule . /gallery2/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1 [L]

Voila!

Note: This is also a reference for myself who always forgets stuff like this months later.

Related posts:
No tags for this post.

0 Responses to “Gallery2 Watermarks on all Images”


  1. No Comments

Leave a Reply

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.





Enter your email address:

Delivered by FeedBurner


What am I doing?

Powered by Twitter Tools.

TwitterCounter for @jeremyheslop Page Rank Check


Skribit: Social Suggestions

mozy


Use OpenDNS

www.flickr.com
This is a Flickr badge showing public photos from jeremy.heslop. Make your own badge here.


Facebook me!