Added support for viewing image doc's