updated RenderImage method on Razor to use RawString