public function createCategoryResizedImageFiles($filename)
    {
        // Use the default or a specified category featured image
        $filename = $this->categoryImageDefaultOrSpecified($filename);

        // grab the image sizes to create from the config
        $imageSizes = Config::get('lasallecmsfrontend.category_featured_image_size');

        // iterate through the sizes to create new image files for each size
        foreach ($imageSizes as $width => $height)
        {
            if (!$this->isFileExist($this->pathFilenameOfResizedImage($filename, $width, $height)))
            {
                $this->resize($filename, $width, $height);
                $this->resizeAt2x($filename, $width, $height);
            }
        }
    }
public function createCategoryResizedImageFiles($filename)
    {
        // Use the default or a specified category featured image
        $filename = $this->categoryImageDefaultOrSpecified($filename);

        // grab the image sizes to create from the config
        $imageSizes = Config::get('lasallecmsfrontend.category_featured_image_size');

        // iterate through the sizes to create new image files for each size
        foreach ($imageSizes as $width => $height)
        {
            if (!$this->isFileExist($this->pathFilenameOfResizedImage($filename, $width, $height)))
            {
                $this->resize($filename, $width, $height);
                $this->resizeAt2x($filename, $width, $height);
            }
        }
    }
public function createCategoryResizedImageFiles ( $ filename ) { // Use the default or a specified category featured image $ filename = $ this -> categoryImageDefaultOrSpecified ( $ filename ) ; // grab the image sizes to create from the config $ imageSizes = Config :: get ( 'lasallecmsfrontend.category_featured_image_size' ) ; // iterate through the sizes to create new image files for each size foreach ( $ imageSizes as $ width => $ height ) { if ( ! $ this -> isFileExist ( $ this -> pathFilenameOfResizedImage ( $ filename , $ width , $ height ) ) ) { $ this -> resize ( $ filename , $ width , $ height ) ; $ this -> resizeAt2x ( $ filename , $ width , $ height ) ; } } }
Create resized image files for the category featured image

@param   string  $filename          Category's UN-resized image's filename
@return  void
Create resized image files for the category featured image