The simpler media website CMS
Image Class
WATERMARK_FULL = 4
WATERMARK_IMAGE = 1
WATERMARK_THUMB = 2
Returns true if the object is a zenphoto 'image'
bool isImageClass( [object $image = NULL] )
Returns a new "image" object based on the file extension
object newImage( object $album, string $filename, [bool $quiet = false] )