Ansel_ImageClass to describe a single Ansel image.
Located in /lib/Ansel.php (line 1981)
void
getTile
([Ansel_Gallery $parent = null], [string $style = null], [boolean $mini = false], [array $params = array()])
void
watermark
([string $view = 'full'], [string $watermark = null], [ $halign = null], [ $valign = null], [ $font = null])
mixed
$caption
= '' (line 1995)
mixed
$commentCount
(line 2006)
mixed
$facesCount
= 0 (line 2007)
mixed
$filename
= 'Untitled' (line 1994)
integer
$gallery
(line 1986)
mixed
$geotag_timestamp
(line 2011)
mixed
$id
= null (line 1993)
mixed
$lat
(line 2008)
mixed
$lng
(line 2009)
mixed
$location
(line 2010)
integer
$originalDate
(line 2021)
Timestamp of original date.
mixed
$sort
(line 2005)
mixed
$type
= 'image/jpeg' (line 1996)
integer
$uploaded
(line 2003)
timestamp of uploaded date
mixed
$_data
= array() (line 2030)
mixed
$_dirty
(line 2013)
array
$_exif
= array() (line 2037)
Cache the raw EXIF data locally
Horde_Image
$_image
(line 1991)
mixed
$_loaded
= array() (line 2029)
array
$_tags
= array() (line 2027)
Holds an array of tags for this image
static viewExists (line 2209)
Check if an image view exists and returns the vfs name complete with the hash directory name prepended if appropriate.
Constructor Ansel_Image (line 2046)
TODO: refactor Ansel_Image to use a ::get() method like Ansel_Gallery instead of direct instance variable access and all the nonsense below.
createView (line 2244)
Creates and caches the given view.
crop (line 2794)
deleteCache (line 2645)
Deletes the specified cache file.
If none is specified, deletes all of the cache files.
display (line 2724)
Display the requested view.
downloadHeaders (line 2703)
Sends the correct HTTP headers to the browser to download this image.
flip (line 2866)
Flips the image.
geotag (line 2365)
Update the geotag data
getDimensions (line 2773)
Returns the dimensions of the given view.
getTags (line 2891)
Returns this image's tags.
getTile (line 2947)
Get the Ansel_View_Image_Thumb object
getType (line 2964)
Get the image type for the requested view.
getVFSName (line 2121)
Returns the file name of this image as used in the VFS backend.
getVFSPath (line 2108)
Return the vfs path for this image.
grayscale (line 2805)
Converts the image to grayscale.
load (line 2148)
Loads the given view into memory.
mirror (line 2878)
Mirrors the image.
raw (line 2688)
Returns the raw data for the given view.
replace (line 2482)
Replace this image's image data.
reset (line 2632)
Reset the image, removing all loaded views.
rotate (line 2787)
Rotates the image.
save (line 2379)
Save basic image details
setTags (line 2921)
Set/replace this image's tags.
toFile (line 2760)
Wraps the given view into a file.
updateData (line 2346)
Change the image data. Deletes old cache and writes the new data to the VFS. Used when updating an image
watermark (line 2818)
Watermarks the image.
_autoRotate (line 2585)
Autorotate based on EXIF orientation field. Updates the data in memory only.
_exifToTags (line 2508)
Adds specified EXIF fields to this image's tags. Called during image upload/creation.
_getEXIF (line 2533)
Reads the EXIF data from the image and stores in _exif array() as well also populates any local properties that come from the EXIF data.
_getViewHash (line 2983)
Return a hash key for the given view and style.
_writeData (line 2330)
Writes the current data to vfs, used when creating a new image
Documentation generated on Sun, 30 Jan 2011 05:08:43 +0000 by phpDocumentor 1.4.3