set up path for gallery page, started the gallery