1. Copy and paste the code to your favourite text editor and save them as
logo.php:
http://gallery.webtips.at/logo.phpsand imageinfo.php:
http://gallery.webtips.at/imageinfo.phps2. Create a logo.png file
3. If your logo.png file isn't 190 x 23 Pixels in size, edit the values in the logo.php between lines 23 and 36
4. upload the logo.php, logo.png and imageinfo.php into your gallery root dir
5. edit the /includes/functions.inc.php file of your gallery installation.
Find the following line
return $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
and replace it with
return 'logo.php?picturename='.$url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
6. Done. Please be careful when editing the functions.inc.php. Make a backup copy of thw file before editing it!
I take no credit for this code. The posted .php files have been taken from the original coppermine support board and modified slightly by me (mainly readability issues). I don't remember who wrote the original logo.php, if someone can tell me, I'll add the copyright information in the logo.phps file provided at gallery.webtips.at for download.
[EDIT: The code you have to replace in function.inc.php is broken up by the forum. Please assure, that the code doesn't spread over two lines.]