fix the templates broken images