detailed image view fixed to work with AWS