If it is determined in the determination process [J3201] that the selected image is not an image belonging to a set of panoramic images, i.e., if it is determined that the selected image is an image photographed by ordinary photographing, then it is checked whether setting of a protect code is performed.