Patent ID: 7583298

Claim:
An electronic camera having an insertable/removable recording medium for storing shot images, comprising: a tag memory storing a plurality of pieces of tag information in advance; a tag selection unit for selecting tag information to be corresponded to an image file of an image that is to be shot before the image is shot from the plurality of pieces of tag information stored in the tag memory; a tag information creation unit for creating a tag information file including the tag information selected by the tag selection unit; and a recording unit for recording the created tag information file onto the recording medium together with the image file of a shot image; an image file deletion unit for deleting the image file recorded onto the recording medium; and a file name giving unit for creating a file name and giving the file name to the tag information file, wherein: the tag information file created by the tag information creation unit is only one tag information file for the image file of the image that is to be shot as a distinction to distinguish a shot image from images to be shot, and a file name given to the tag information file by the file name giving unit is a name that is associated with a file name of the image file of the image that is to be shot and different from file names of the other tag information files recorded onto the recording medium; and when the image file deletion unit deletes from the recording medium an image file having a file name associated with a file name of a first tag information file, the file name giving unit gives the first tag information file a file name associated with a file name of an image file of an image shot next to an image of the deleted image file.