website modifications for gallery refactoring