public function fallbackImage($options = [], $image = [], $version = null) {
		if (isset($options['fallback'])) {
			if ($options['fallback'] === true) {
				$imageFile = 'placeholder/' . $version . '.jpg';
			} else {
				$imageFile = $options['fallback'];
			}
			unset($options['fallback']);

			return $this->Html->image($imageFile, $options);
		}

		return '';
	}
public function fallbackImage($options = [], $image = [], $version = null) {
		if (isset($options['fallback'])) {
			if ($options['fallback'] === true) {
				$imageFile = 'placeholder/' . $version . '.jpg';
			} else {
				$imageFile = $options['fallback'];
			}
			unset($options['fallback']);

			return $this->Html->image($imageFile, $options);
		}

		return '';
	}
public function fallbackImage ( $ options = [ ] , $ image = [ ] , $ version = null ) { if ( isset ( $ options [ 'fallback' ] ) ) { if ( $ options [ 'fallback' ] === true ) { $ imageFile = 'placeholder/' . $ version . '.jpg' ; } else { $ imageFile = $ options [ 'fallback' ] ; } unset ( $ options [ 'fallback' ] ) ; return $ this -> Html -> image ( $ imageFile , $ options ) ; } return '' ; }
Provides a fallback image if the image record is empty

@param array $options
@param array $image
@param string|null $version
@return string
Provides a fallback image if the image record is empty