public function image($file, $caption = null)
    {
        $this->messages[] = $this->media->compile($file, $caption, 'image');
    }
public function image($file, $caption = null)
    {
        $this->messages[] = $this->media->compile($file, $caption, 'image');
    }
public function image ( $ file , $ caption = null ) { $ this -> messages [ ] = $ this -> media -> compile ( $ file , $ caption , 'image' ) ; }
Send image message

<code>
WA::send('See this cool image !', function($send)
{
$send->to('5219622222222');

// From local storage
$send->image('/home/xaamin/example.jpg', 'Cool image');

// or from web url
$send->image('http://itnovado.com/example.jpg', 'Cool image');
}):
</code>

@param  string $file File location
@param  string Caption
@return void
Send image message