fixed photo galleries and other front end work