Post image


hello team,

i have one pro…
i send twit using code. i working fine.
but i have to post image or photo so how i send it in my code…
i used this method for send status & image in twit

$med=‘any image file path’;
$connection->post(‘account/Update_profile_background_image’, array(’@image’ => “@{$med}”));
$connection->post(‘statuses/update’, array(‘status’ => ‘456opop717’));

status twit working fine but not send image in my twit
so plz help me for solve this prob.