Fix gallery page.