src/ResponsiveImages/ResponsiveImageHelper.php
public function createResizedImageVersions($imageurl, $imageclass)
    {
        if (!$this->resizer instanceof ImageResizer) {
            throw new \LogicException('no ImageResizer available, set it using ResponsiveImageHelper::setResizer()');
        }
        $image = $this->getResponsiveImage($imageurl, $imageclass);
        $image->createResizedVersions($this->resizer);
    }
public function createResizedImageVersions($imageurl, $imageclass)
    {
        if (!$this->resizer instanceof ImageResizer) {
            throw new \LogicException('no ImageResizer available, set it using ResponsiveImageHelper::setResizer()');
        }
        $image = $this->getResponsiveImage($imageurl, $imageclass);
        $image->createResizedVersions($this->resizer);
    }
public function createResizedImageVersions ( $ imageurl , $ imageclass ) { if ( ! $ this -> resizer instanceof ImageResizer ) { throw new \ LogicException ( 'no ImageResizer available, set it using ResponsiveImageHelper::setResizer()' ) ; } $ image = $ this -> getResponsiveImage ( $ imageurl , $ imageclass ) ; $ image -> createResizedVersions ( $ this -> resizer ) ; }
Create the resized image versions for an image and a given image class

@param string $imageurl
@param string $imageclass
@throws \Exception
Create the resized image versions for an image and a given image class