1. A mobile terminal comprising: a main body; a first camera provided on a front side of the main body; a second camera provided on a rear side of the main body; a sensing unit that senses an extent of movement of the main body; and a controller that controls the first and second cameras to capture images as the main body is moved within a prescribed range, wherein the first camera is controlled to capture a plurality of first images as the main body is rotated within the prescribed range, and the second camera is controlled to capture a plurality of second image as the main body is rotated within the prescribed range, and wherein, when the main body is moved beyond the prescribed range, the first and second camera are controlled to stop capturing images and the first plurality of images from the first camera and the plurality of second images from the second camera are connected to generate at least one panorama picture.