#1 Install the files in their respective folders.

#2 Open functions.inc.php and find:

return $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);


Replace line with:


		if ($pic_row['user1']!="YES") {

		return $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
		
		} else {
		require_once "include/watermark.class.php";
		$watermark_file_location = 'images/watermark.png';
		$picture_location =	$url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);;

				$img = new Watermark();
				$img->watermark_file = $watermark_file_location;
			    $img->add_watermark($picture_location);
				return $img->image_tag;


		}
