Patent ID: 8612428

Claim:
An information processing apparatus including at least one processor communicatively-coupled to a memory via a bus, comprising: a generation unit configured to generate an album including a plurality of frames in which a plurality of images are to be arranged, wherein at least one or more pieces of metadata is added to at least one of the plurality of images of the album; a changing unit configured to change one of the plurality of images arranged in one of the plurality of frames in the generated album to another image of the plurality of images according to a user's instruction; a calculation unit configured to calculate ranking information for each piece of the at least one or more pieces of metadata; a determination unit configured to determine whether an image from the plurality of images has been retained in one of the plurality of frames in the album being unchanged to another image of the plurality of images according to the user's instruction by the changing unit, during a time period, from a time beginning at the start of changing an image by the changing unit, to a time when ranking information is calculated by the calculation unit; an obtaining unit configured, in response to a determination that an image was unchanged, to obtain the at least one or more pieces of metadata added to the image determined by the determination unit; and a first counting unit configured to count a number of images to which the at least one or more pieces of metadata obtained by the obtaining unit is added and which are retained in the album for each piece of the at least one or more pieces of metadata obtained by the obtaining unit, wherein the calculation unit calculates the ranking information based on the number counted by the first counting unit for each piece of the at least one or more pieces of metadata obtained by the obtaining unit.