New window action

Fix "View in New Window" action for images.