A method and system for the automatic layout of a photobook page are
disclosed. The method includes receiving a number of images for placement
onto the photobook page, the photobook page having a first dimension and
a second dimension wherein the first dimension is greater than the second
dimension. A square root of the number of images is approximated. A total
number of page divisions is determined along the first dimension of the
photobook page, wherein the total number of page divisions correspond to
the approximated square root. Each photobook page is evaluated for
division into a regular array of image areas using a modulus of the
number of images and the square root. A number of image areas to be
included in a page division is determined using a ratio of the number of
images to the approximated square root. The images are distributed
automatically on the photobook page among the multiple image areas.