1. A method performed by a physical computing system for arranging a number of secondary images adjacent to a primary image, the method comprising: with a processor, determining a target layout in which said secondary images are placed along at least one edge of said primary image; with the processor, dividing each of said secondary images into one of a horizontal group and a vertical group according to said target layout and dimensions of each of said secondary images; with the processor, dividing any of said secondary images in said horizontal group into one of a top group and a bottom group according to said target layout and a width of each of said secondary images in said horizontal group; with the processor, dividing any of said secondary images of said vertical group into one of a left group and a right group according to said target layout and a height of each of said secondary images in said vertical group; and with the processor, placing each of said secondary images adjacent to an edge of said primary image according to an assigned group of each said secondary image.