Populating gallery page.