Modify gallery page