[PATCH conductor 2/2] Updated images controller to use TemplateXML