Added ability to show image directly