I is the more formal version using the subject from (I: part of subject):
My friend and I are here in this picture.
Or you could think of:
This picture includes my friend and me.
(me: part of direct object)
It depends what complete sentence he had in mind, also on the degree of formality.