change images in templates