Correct broken images in template from identifier