public function setFallbackImage($fallbackImage)
    {
        $fallbackImagePath = realpath($fallbackImage);

        if(file_exists($fallbackImagePath) && is_readable($fallbackImagePath))
        {
            $this->fallbackImage = $fallbackImagePath;

            return;
        }

        throw new Exception("Default image missing or not readable, path: $fallbackImage");
    }
public function setFallbackImage($fallbackImage)
    {
        $fallbackImagePath = realpath($fallbackImage);

        if(file_exists($fallbackImagePath) && is_readable($fallbackImagePath))
        {
            $this->fallbackImage = $fallbackImagePath;

            return;
        }

        throw new Exception("Default image missing or not readable, path: $fallbackImage");
    }
public function setFallbackImage ( $ fallbackImage ) { $ fallbackImagePath = realpath ( $ fallbackImage ) ; if ( file_exists ( $ fallbackImagePath ) && is_readable ( $ fallbackImagePath ) ) { $ this -> fallbackImage = $ fallbackImagePath ; return ; } throw new Exception ( "Default image missing or not readable, path: $fallbackImage" ) ; }
Set fallback image witch is used when requred image is not found.
@param string $fallbackImage absolute or relative path to fallback image.
@throws Exception
Set fallback image witch is used when requred image is not found .