The easiest way to store any number of images is just to dump them in one large directory where thay can be later retrieved by searching for any attached comment tags.