1. An image processing apparatus, comprising: an image acquiring section implemented by a programmed computer and configured to acquire one or more groups of candidate images for use in creating a recommended composite image to be proposed to a user; an image analysis information acquiring section implemented by the programmed computer and configured to, for each of the one or more groups of candidate images, acquire image analysis information on each image of the group of candidate images; a theme determining section implemented by the programmed computer and configured to, for each of the one or more groups of candidate images, determine a theme of the group of candidate images based on the image analysis information on each image of the group of candidate images; a template selecting section implemented by the programmed computer and configured to, for each of the one or more groups of candidate images, select one or more templates for use in creating a recommended composite image based on the theme of the group of candidate images; and a layout section implemented by the programmed computer and configured to, for each of the one or more groups of candidate images, create one or more recommended composite images in each of which images of the group of candidate images are laid out in each of the one or more templates, wherein the template selecting section is configured to change peripheral dimensions of each of the one or more templates itself according to the theme of the group of candidate images.