Represents a single image in a Picasa account.
Located in /Picasa/Image.php (line 19)
The id number of the Album the image is in.
The number of comments entered for the image.
An array of Picasa_Comment objects containing all the comments for the image.
A downloadable link to the full size of the photo.
This URL cannot be seen inside a <img> HTML tag. Instead, use thumbnails. Though this field is deprecated, it can still be used for simplicity. If only one size was requested (which is the default case), then this field will contain the URL to that image size. If more than one size is requested, this field will contain the URL of the smallest one.
A map of image widths to their respective URLs.
This map mimicks the $thumbUrlMap field, except these URLs are not thumbnails and can't be used inside <img> HTML tags. In practice, only one image size can be requested. This field was created because users who are
An array that can be passed to stream_create_context() to get a context.
This context array is used rather than just an auth token because the context array holds both the auth token and the type of authentication that was performed. The context can be passed as a parameter when instantiating a Picasa object to make the instantiation authenticated.
A description of the image, entered by the account owner.
The location that the image was taken.
The format is latitude and longitude, separated by a space. This is often left blank, the Picasa_Album::$location field is more reliable.
The original height of the image.
The URL to the image's page on PicasaWeb.
A unique number assigned to the image by Picasa, unique across all Picasa images.
A comma seperated list of keywords for the image (Deprecated, use $tags).
The largest thumbnail provided by Picasa by default.
288px on the longest side by default. Even though this field is deprecated, it can be used for simplicity. If three or more thumbnail sizes are requested, this field will contain a link to the third-largest one. If only one or two thumbnail sizes are requested, this field will be null (so be careful). By default, three thumbnails are requested so this field will be filled if no thumbnail size is specifically requested.
The middle thumbnail provided by Picasa by default.
144px on the longest side by default. Even though this field is deprecated, it can be used for simplicity. If two or more thumbnail sizes are requested, this field will contain a link to the second-largest one. If only one thumbnail size is requested, this field will be null (so be careful). By default, three thumbnails are requested so this field will be filled if no thumbnail size is specifically requested.
The next image in the image's current album.
The previous image in the image's current album.
A URL to the smallest thumbnail provided by Picasa by default.
72px on the longest side by default. Although this field is deprecated, it can be used for simplicity. The smallest thumbnail will always be placed in this field, even if a custom thumbnail size is used.
An array of strings, one for each keyword associated with the image.
A mapping of thumbnail widths to their respective heights.
Use the thumbnail's width as a key to get it's height. The location of the thumbnail can be retrieved from the field $thumbUrlMap using, again, the width as a key.
An array of Picasa_Thumbnail objects.
The sizes and number of thumbnails in this array will vary depending on what was requested.
A mapping of thumbnail widths to the URLs for those thumbnails.
This field was introduced because multiple thumbnail sizes can be requested. In order to keep track of which thumbnail URL is which size, this array was added. In order to not have to create a specific class that holds the thumbnail's URL, width, and height, the $thumbHeightMap array was created to map thumbnail widths to thumbnail heights. You can loop through this array and when you get a thumbnail you want using the width as a key, use the same key to get its height.
This is not really necessary if you request three or fewer thumbnail sizes at a time and you don't need to know the size of them. The deprecated fields $smallThumb, $mediumThumb, and $largeThumb will work just fine.
The number of miliseconds after January 1st, 1970 that the image was taken.
The title or file name of the photo.
The date that the image was last updated.
The URL to actual imagepage PicasaWeb.
The original width of the image.
Constructs an Image object.
Gets the comments for this image.
If the comments weren't supplied with the original image, this method will try to retrieve them again just to make sure.
Loads the private members $previous and $next with the previous and next images in their album.
Constructs a textual representation of the current instantiation.
Documentation generated on Tue, 02 Jun 2009 14:51:52 -0700 by phpDocumentor 1.4.1