Facebook开发 - 发布照片链接

I'm building an app for facebook. I need to post some link, standard code works correctly:

$ret_obj = $facebook->api('/me/feed', 'POST',
    array(
      'link' => 'Mylink',
      'message' => 'Posting with the PHP SDK!',

But I need to attach the photo also. It works if photo is on the link I post, but I don't want that photo to appear on that page.

Is there any way?

Simply add a parameter, picture to while making the call-

 array(
   'link' => 'Mylink',
   'message' => 'Posting with the PHP SDK!',
   'picture' => '{image-link}'