1. A method performed by a physical computing system ( 100 ) for arranging a number of secondary images ( 504 ) adjacent to a primary image ( 502 ), the method comprising: determining a target layout in which said secondary images ( 504 ) are placed along at least one edge ( 506 , 508 ) of said primary image ( 502 ); dividing each of said secondary images ( 504 ) into one of a horizontal group and a vertical group according to said target layout and dimensions of each of said secondary images ( 504 ); dividing any of said secondary images ( 504 ) in said horizontal group into one of a top group ( 706 ) and a bottom group ( 708 ) according to said target layout and a width of each of said secondary images ( 504 ) in said horizontal group; dividing any of said secondary images ( 504 ) 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 ( 504 ) in said vertical group; and placing each of said secondary images ( 504 ) adjacent to an edge ( 506 , 508 ) of said primary image ( 502 ) according to an assigned group of each said secondary image ( 504 ).