Added sendPic function.