creating gallery for the front page.