public function getImageSrc($type, $size)
	{
		if (empty($this->$type))
		{
			return null;
		}
		return $this->getImageConfig($type, $size, 'dir') . $this->$type;
	}
public function getImageSrc($type, $size)
	{
		if (empty($this->$type))
		{
			return null;
		}
		return $this->getImageConfig($type, $size, 'dir') . $this->$type;
	}
public function getImageSrc ( $ type , $ size ) { if ( empty ( $ this -> $ type ) ) { return null ; } return $ this -> getImageConfig ( $ type , $ size , 'dir' ) . $ this -> $ type ; }
Returns the value for use in the src attribute of an img tag for the given image type and size

@param $type
@param $size
@return null|string
Returns the value for use in the src attribute of an img tag for the given image type and size