Each image is associated to GPS coordinates. This info is included in the image file (EXIF header) and/or in a separate file. Using this information, one can localise the photos directly in Google Earth, or using a dedicated image catalogue software (the example below is using Picasa, a free utility).

The position of selected photos (8 thumbnails with a blue frame) is indicated on a map or Google Earth display.