An electronic device comprising: a camera configured to sequentially obtain, when a panorama image capture starts, a first plurality of images; and a motion sensor configured to sense, during the panorama image capture, a motion of the electronic device, thereby obtaining motion information; a panorama image generator configured to: generate, during the panorama image capture, image analysis information for each image in the first plurality of images, select, during the panorama image capture, a second plurality of images (201, 202) among the first plurality of images based on the image analysis information and on the motion information, repeatedly perform image matching and stitching, during the panorama image capture based on the second plurality of images (201, 202), on the image analysis information and on the motion information, thereby generating panorama image data which can be displayed as a panorama image; a dynamic panorama image generator configured to: generate, during the panorama image capture, dynamic panorama data based on the second plurality of images (201, 202), on the image analysis information and on the motion information, wherein the dynamic panorama data can be displayed as a panorama video having a virtual field of view identical to the field of view of the panorama image, and wherein the dynamic panorama data is temporally and spatially synchronized with the panorama image data; and a last file generator configured to: generate, when the image capture stops, a panorama content file including at least the panorama image data and the dynamic panorama data, and store, in a memory, the panorama content file comprising the panorama image data, the dynamic panorama data. a camera configured to sequentially obtain, when a panorama image capture starts, a first plurality of images; and a motion sensor configured to sense, during the panorama image capture, a motion of the electronic device, thereby obtaining motion information; a panorama image generator configured to: generate, during the panorama image capture, image analysis information for each image in the first plurality of images, select, during the panorama image capture, a second plurality of images (201, 202) among the first plurality of images based on the image analysis information and on the motion information, repeatedly perform image matching and stitching, during the panorama image capture based on the second plurality of images (201, 202), on the image analysis information and on the motion information, thereby generating panorama image data which can be displayed as a panorama image; generate, during the panorama image capture, image analysis information for each image in the first plurality of images, select, during the panorama image capture, a second plurality of images (201, 202) among the first plurality of images based on the image analysis information and on the motion information, repeatedly perform image matching and stitching, during the panorama image capture based on the second plurality of images (201, 202), on the image analysis information and on the motion information, thereby generating panorama image data which can be displayed as a panorama image; a dynamic panorama image generator configured to: generate, during the panorama image capture, dynamic panorama data based on the second plurality of images (201, 202), on the image analysis information and on the motion information, wherein the dynamic panorama data can be displayed as a panorama video having a virtual field of view identical to the field of view of the panorama image, and wherein the dynamic panorama data is temporally and spatially synchronized with the panorama image data; and a last file generator configured to: generate, when the image capture stops, a panorama content file including at least the panorama image data and the dynamic panorama data, and store, in a memory, the panorama content file comprising the panorama image data, the dynamic panorama data. generate, during the panorama image capture, dynamic panorama data based on the second plurality of images (201, 202), on the image analysis information and on the motion information, wherein the dynamic panorama data can be displayed as a panorama video having a virtual field of view identical to the field of view of the panorama image, and wherein the dynamic panorama data is temporally and spatially synchronized with the panorama image data; and a last file generator configured to: generate, when the image capture stops, a panorama content file including at least the panorama image data and the dynamic panorama data, and store, in a memory, the panorama content file comprising the panorama image data, the dynamic panorama data. generate, when the image capture stops, a panorama content file including at least the panorama image data and the dynamic panorama data, and store, in a memory, the panorama content file comprising the panorama image data, the dynamic panorama data.