src/Collections/ResizesCollection.php
public function getItem($resize_name)
    {
        if($this->exist($resize_name))
        {
            return $this->getByName($resize_name);
        }

        if($this->original)
        {
            $resizeItem = $this->capGenerator->createResize($this->imageField, $resize_name, $this->original);

            $this->addItem($resizeItem);
        }

        return $this->getByName($resize_name);
    }
public function getItem($resize_name)
    {
        if($this->exist($resize_name))
        {
            return $this->getByName($resize_name);
        }

        if($this->original)
        {
            $resizeItem = $this->capGenerator->createResize($this->imageField, $resize_name, $this->original);

            $this->addItem($resizeItem);
        }

        return $this->getByName($resize_name);
    }
@param string $resize_name

@return \Interpro\ImageAggr\Items\ResizeItem