changed urls in gallery page to relative