src/Mmanos/Casset/Container.php
public function image($source, $alt = null, $attributes = array())
	{
		$url = $source;
		
		if (false === strstr($source, '://') && '//' !== substr($source, 0, 2)) {
			$url = $this->cdn($source);
		}
		
		return HTML::image($url, $alt, $attributes);
	}
public function image($source, $alt = null, $attributes = array())
	{
		$url = $source;
		
		if (false === strstr($source, '://') && '//' !== substr($source, 0, 2)) {
			$url = $this->cdn($source);
		}
		
		return HTML::image($url, $alt, $attributes);
	}
public function image ( $ source , $ alt = null , $ attributes = array ( ) ) { $ url = $ source ; if ( false === strstr ( $ source , '://' ) && '//' !== substr ( $ source , 0 , 2 ) ) { $ url = $ this -> cdn ( $ source ) ; } return HTML :: image ( $ url , $ alt , $ attributes ) ; }
Add an image asset to the container.

@param string $source
@param string $alt
@param array  $attributes

@return string
Add an image asset to the container .