A display device comprising: a body configured to include a first area, a second area and a bending portion between the first area and the second area; a first camera configured to be provided in a first area; a second camera configured to be provided in a second area, the first camera and the second camera being provided at a first side of the display device; a display unit configured to display images acquired through the first camera and the second camera; and a processor configured to: control the first camera, the second camera and the display unit, acquire a bending angle of the bending portion, determine an angle range from the current bending angle of the display device to a threshold angle, wherein the threshold angle is the maximum bending angle of the bending portion that generates a single panorama image by using a first image acquired from the first camera and a second image acquired from the second camera, generate the panorama image by using the first image and the second image if the bending angle is smaller than the threshold angle, adjust display attributes of the panorama image in accordance with the angle range, and change a size of a left and a right empty area in a periphery of the panorama image in response to a change in the angle range, wherein when the size of the left and right empty area in the periphery of the edge of the panorama image is changed, a size of an up and down empty area in the periphery of the edge of the panorama image is maintained, and the size of the left and right empty area in the periphery of the panorama image is dependent on the angle range. a body configured to include a first area, a second area and a bending portion between the first area and the second area; a first camera configured to be provided in a first area; a second camera configured to be provided in a second area, the first camera and the second camera being provided at a first side of the display device; a display unit configured to display images acquired through the first camera and the second camera; and a processor configured to: control the first camera, the second camera and the display unit, acquire a bending angle of the bending portion, determine an angle range from the current bending angle of the display device to a threshold angle, wherein the threshold angle is the maximum bending angle of the bending portion that generates a single panorama image by using a first image acquired from the first camera and a second image acquired from the second camera, generate the panorama image by using the first image and the second image if the bending angle is smaller than the threshold angle, adjust display attributes of the panorama image in accordance with the angle range, and change a size of a left and a right empty area in a periphery of the panorama image in response to a change in the angle range, wherein when the size of the left and right empty area in the periphery of the edge of the panorama image is changed, a size of an up and down empty area in the periphery of the edge of the panorama image is maintained, and the size of the left and right empty area in the periphery of the panorama image is dependent on the angle range. control the first camera, the second camera and the display unit, acquire a bending angle of the bending portion, determine an angle range from the current bending angle of the display device to a threshold angle, wherein the threshold angle is the maximum bending angle of the bending portion that generates a single panorama image by using a first image acquired from the first camera and a second image acquired from the second camera, generate the panorama image by using the first image and the second image if the bending angle is smaller than the threshold angle, adjust display attributes of the panorama image in accordance with the angle range, and change a size of a left and a right empty area in a periphery of the panorama image in response to a change in the angle range, wherein when the size of the left and right empty area in the periphery of the edge of the panorama image is changed, a size of an up and down empty area in the periphery of the edge of the panorama image is maintained, and the size of the left and right empty area in the periphery of the panorama image is dependent on the angle range.