The best practice would be to use the standard Image Viewer widget if you want to show an image from a System.Image entity. Can I ask what your use case is?