Adjust gallery fixer to use code for new template.