Ansel_ImageGenerator::create PHP Method

create() public method

Create and cache the view.
public create ( ) : mixed
return mixed Views used as gallery key images return Horde_Image, other views return boolean
    public function create()
    {
        if (!empty($this->_image)) {
            // Make sure to load the image.
            $this->_image->load('full');
            $img = $this->_image->getHordeImage();
            $this->_dimensions = $img->getDimensions();
        }
        return $this->_create();
    }