added support for view of single image directly uploaded