Images: 

Images are objects associated with binary image files in the following formats: GIF, JPG, PNG, SWF, PSD or BMP. Image files themselves are placed into the private webtree on upload, and the database info includes $image->path, a pointer to the file. If the image is posted publicly, a copy of the image, sized and compressed appropriately, will be placed in the public webtree-- otherwise it resides in the private webtree and access to it is controlled by Berylium. Note that image-upload is optional: the image record may represent a file on another server (so $image->path may look like "http://path.to/my/image.jpg".) 

	base contexts:
		image-create-member.html
		image-upload-owner.html
		image-view-anonymous.html, .gif, .png, .jepg
		image-edit-owner.html
		image-list-anonymous.html
		image-enqueue-anonymous.html
		image-publish-editor.html, .txt
		image-unpublish-editor.html, .txt
		image-delete-owner.html
		image-undelete-editor.html
		image-hide-editor.html, .txt
		image-post-owner.html, .txt
		image-makeAlias-owner.html
		image-copyToClip-owner.html, .txt
		image-pasteFromClip-owner.html, .txt
		image-backup-admin.html, .txt


	policies: (web methods allowed^flavors allowed^rankfloor^rankceiling^allowed to post (1) or hard status^allowed to publish)
		image-anonymous	(view, list, enqueue^*^-1^-1^-1^-1)
		image-member (create,view,list,enqueue^*^0^100^new^0)
		image-owner (upload,view, edit, list, enqueue, delete, post, makeAlias, copyToClip, copyFromClip^*^0^100^1^0)
		image-editor (create, upload,view, edit, list, enqueue, publish, unpublish, delete, undelete, hide, post, makeAlias, copyToClip, copyFromClip^*^0^-1^1^1)
		image-admin (*^*^0^-1^1^1)

	properties:

		all content object properties, with the following caveats:
			path	can be a fully-qualified URL
		additional run time properties:
			file	the getimagesize($image->path, &$image->file); the array of info getimagesize returns, which may include information embedded in the image itself (see http://www.php.net/manual/en/function.getimagesize.php )
			
	web methods:

		create
		insert
		upload
		view
		edit
		update
		list
		publish
		unpublish
		delete
		undelete
		hide
		post
		makealias
		toclip
		fromclip
		backup
		enqueue

	internal methods:

		getFileInfo
		convert
		makeIcon
		makePreview
		resize
		compress
		crop
		blankFile
		saveFile
		replaceFile