A method of setting a focus of a digital image based on social relationship to a user of an electronic device, comprising: imaging a scene with a camera of the electronic device; detecting, with a processing device of the electronic device, a plurality of faces present in an imaged scene; accessing a database of social relationships of the user of the electronic device on a social media service where the user of the electronic device has an account, the database of social relationships being: stored on a social media server associated with a social media service and accessed with the electronic device via a communications network; or stored on the electronic device and accessed with the processing device; recognizing an identity of a first individual having a face from among the plurality of detected faces by determining, with the processing device and using the database of social relationships, that a detected face from among the plurality of detected faces is the face of an individual having a social relationship with the user of the electronic device; setting, with the processing device, the focus of the camera to focus on the face of the first recognized individual; and capturing, with the camera, a first digital image with the focus on the face of the first recognized individual; recognizing an identity of an additional individual as having another face from among the plurality of faces by determining, with the processing device and using the database of social relationships, that another detected face from among the plurality of detected faces is the face of an individual having a social relationship with the user of the electronic device; setting an additional focus of the camera to focus on the face of the additional recognized individual; capturing an additional digital image with the focus on the face of the additional recognized individual; and combining the first digital image and the additional digital image to create an image with focus on the face of the first recognized individual and focus on the face of the additional recognized individual. imaging a scene with a camera of the electronic device; detecting, with a processing device of the electronic device, a plurality of faces present in an imaged scene; accessing a database of social relationships of the user of the electronic device on a social media service where the user of the electronic device has an account, the database of social relationships being: stored on a social media server associated with a social media service and accessed with the electronic device via a communications network; or stored on the electronic device and accessed with the processing device; stored on a social media server associated with a social media service and accessed with the electronic device via a communications network; or stored on the electronic device and accessed with the processing device; recognizing an identity of a first individual having a face from among the plurality of detected faces by determining, with the processing device and using the database of social relationships, that a detected face from among the plurality of detected faces is the face of an individual having a social relationship with the user of the electronic device; setting, with the processing device, the focus of the camera to focus on the face of the first recognized individual; and capturing, with the camera, a first digital image with the focus on the face of the first recognized individual; recognizing an identity of an additional individual as having another face from among the plurality of faces by determining, with the processing device and using the database of social relationships, that another detected face from among the plurality of detected faces is the face of an individual having a social relationship with the user of the electronic device; setting an additional focus of the camera to focus on the face of the additional recognized individual; capturing an additional digital image with the focus on the face of the additional recognized individual; and combining the first digital image and the additional digital image to create an image with focus on the face of the first recognized individual and focus on the face of the additional recognized individual.