An electronic device comprising: a touch display; and a processor configured to: control to obtain a first image for a panoramic image, control the touch display to present a screen including a preview image, which is an image being provided on the touch display for obtaining an image, a first visual element which moves for obtaining a second image, and a plurality of second visual elements which remain at respective positions during movement of the first visual element, the first visual element starting to be presented along with the second visual elements on the touch display in response to obtaining the first image and being continuously presented on the touch display as the first visual element approaches one of the second visual elements, and in response to a substantial overlap between the first visual element and the second visual element approached, control to obtain the second image for the panoramic image and delete the second visual element substantially overlapped and where further the processor is configured such that the order in which images are captured for forming the panoramic image is set by a user who controls approach and substantial overlap to other of the second visual elements in turn accordingly, after the first image has been captured. a touch display; and a processor configured to: control to obtain a first image for a panoramic image, control the touch display to present a screen including a preview image, which is an image being provided on the touch display for obtaining an image, a first visual element which moves for obtaining a second image, and a plurality of second visual elements which remain at respective positions during movement of the first visual element, the first visual element starting to be presented along with the second visual elements on the touch display in response to obtaining the first image and being continuously presented on the touch display as the first visual element approaches one of the second visual elements, and in response to a substantial overlap between the first visual element and the second visual element approached, control to obtain a first image for a panoramic image, control the touch display to present a screen including a preview image, which is an image being provided on the touch display for obtaining an image, a first visual element which moves for obtaining a second image, and a plurality of second visual elements which remain at respective positions during movement of the first visual element, the first visual element starting to be presented along with the second visual elements on the touch display in response to obtaining the first image and being continuously presented on the touch display as the first visual element approaches one of the second visual elements, and in response to a substantial overlap between the first visual element and the second visual element approached, control to obtain the second image for the panoramic image and delete the second visual element substantially overlapped and where further the processor is configured such that the order in which images are captured for forming the panoramic image is set by a user who controls approach and substantial overlap to other of the second visual elements in turn accordingly, after the first image has been captured.