1. A method of providing an image captured by using a digital photographing apparatus, the method comprising: displaying a first image from among a plurality of images stored in the digital photographing apparatus; obtaining a second image captured within a predetermined distance in a first direction from where the first image was captured, from the plurality of images by using position information about each of the first image and the second image; providing a user interface corresponding to the first direction; and displaying the second image in response to a user's input for selection of the user interface corresponding to the first direction.