As the capability of a device has been developed, users of the device may use devices to deal with a large quantity of images. Users of the device may use a camera module to obtain the large quantity of images and store them in the device or to obtain the large quantity of images from an external device and store them in the device.
As the number of images dealt with by the device increases, there is an increased interest in a method in which users of the device easily deal with images stored in the device. Therefore, a technology of efficiently displaying images in a device is required.