View folder.jpg in viewer pane picture when selecting folder

The command Lxp mentioned also lets you open a specific file in the viewer pane.

But there is no scrirpting event that fires when the selection changes. (Adding one could slow down the file display a great deal.)