1. A method comprising: extracting metadata from an image having a first aspect ratio; selecting, by an electronic device, a second aspect ratio based on the metadata; generating, by the electronic device, a thumbnail having the second aspect ratio by cropping the image; and displaying the thumbnail in an image display window of the electronic device; wherein the metadata includes focus information and the second aspect ratio is selected, at least in part, based on the focus information.