I've been reading Create an image gallery using CCK and Views, but I'm confused a little as I'd like to create a page that lists all the terms within a vocabulary in a grid, which I can do. however I'd then like to show a random image for each terms based on any nodes that are tagged with the term.

I've seen this done using the Image gallery module, but I'd like to do it with just CCK and Views. Possible or barking up the wrong tree?