1. An electronic album generating apparatus, comprising: a template storage device in which a plurality of templates, each including region data that represent image regions into which images are to be inserted within a layout area and attribute data that represent the attributes of images to be inserted into the image regions, are recorded; an image storage device in which a plurality of photographic images are recorded; and a processor executing instructions so as to function as: an evaluation setter, for setting evaluation values for one or more evaluation items that represent the evaluation for each image contents of the photographic images; a grouper, that groups the photographic images into a plurality of groups according to photographic images having common evaluation values for the one or more evaluation items, where each of said plurality of groups comprises a plurality of images; a template selector that selects for each group one or more templates into the image regions of which photographic images included in each group having evaluation values for evaluation items that match the attribute data of the image regions are to be inserted, wherein the one or more templates are selected for each group to correspond to the common evaluation values of the photographic images included in each group; a laid out image generator that generates a plurality of laid out images, in which the photographic images included in each group are arranged within the image regions of the one or more templates that are selected for each group, based on the evaluation values for the evaluation items of the photographic images included in the groups, wherein the photographic images having the evaluation values for the evaluation items that match the attribute data of the image region are laid out therein; and an electronic album generator that generates an electronic album, which is a combination of one or more of the laid out images, a layout and the attribute data of image regions of each of the plurality of templates correspond to combinations of evaluation items, each of the plurality of templates includes image regions having different attribute data; wherein the different attribute data represent difference histogram distributions, and wherein each of the plurality of templates have a main image area and one or more sub image areas whose sizes are smaller than the size of the main image area, the one or more sub image areas have the attribute data which represent histogram distributions which differ from those of the main image area.