Ansel_Gallery_Decorator_Date::getImage PHP Method

getImage() public method

Returns the image in this gallery corresponding to the given id.
public getImage ( integer $id ) : Ansel_Image
$id integer The ID of the image to retrieve.
return Ansel_Image The image object corresponding to the given id.
    public function getImage($id)
    {
        return $GLOBALS['injector']->getInstance('Ansel_Storage')->getImage($id);
    }