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

        // filename
        $fileNameWithNoExtension = $this->filenameWithNoExtension($categoryFeaturedImage);
        $fileNameExtension       = $this->filenameWithExtensionOnly($categoryFeaturedImage);

        // iterate through the image sizes, even though there is just one size
        foreach ($imageSizes as $width => $height)
        {
            return $fileNameWithNoExtension.'-'.$width.'x'.$height.'.'.$fileNameExtension;
        }
    }
public function categoryImageResizedFilename($categoryFeaturedImage)
    {
        // grab the image sizes to create from the config
        $imageSizes = Config::get('lasallecmsfrontend.category_featured_image_size');

        // filename
        $fileNameWithNoExtension = $this->filenameWithNoExtension($categoryFeaturedImage);
        $fileNameExtension       = $this->filenameWithExtensionOnly($categoryFeaturedImage);

        // iterate through the image sizes, even though there is just one size
        foreach ($imageSizes as $width => $height)
        {
            return $fileNameWithNoExtension.'-'.$width.'x'.$height.'.'.$fileNameExtension;
        }
    }
public function categoryImageResizedFilename ( $ categoryFeaturedImage ) { // grab the image sizes to create from the config $ imageSizes = Config :: get ( 'lasallecmsfrontend.category_featured_image_size' ) ; // filename $ fileNameWithNoExtension = $ this -> filenameWithNoExtension ( $ categoryFeaturedImage ) ; $ fileNameExtension = $ this -> filenameWithExtensionOnly ( $ categoryFeaturedImage ) ; // iterate through the image sizes, even though there is just one size foreach ( $ imageSizes as $ width => $ height ) { return $ fileNameWithNoExtension . '-' . $ width . 'x' . $ height . '.' . $ fileNameExtension ; } }
What is the name of the resized category featured image that the view will use?

Does not actually resize the image!

ASSUMES THAT THERE IS JUST ONE RESIZED CATEGORY IMAGE

@param   string     $categoryFeaturedImage    The category's featured image (that is in the categories table)
@return  string
What is the name of the resized category featured image that the view will use?