Image Viewer - Random Image on command

You could do it using a script that selects a random file and opens it in the viewer pretty easily.

Or you could use one of the existing scripts which randomises the file order or selects a random file and then push return to open it: