Wetfish Ideas
You should be able to double click anywhere in a wiki article and start editing
You should be able to draw boxes on wiki images and leave notes.
When you click on images, they should pop up in a magical javascript window with meta information like original URL, filesize, and dimensions.
Random Ideas
Glow paint and hot glue?
nckomodo suggests: a never ending gif, generated on the fly by a script
thumbnails selected by most interest based on measuring clicks. Kayimbo had a similar idea. Having a computer auto generate images by having it randomly draw, the user selects thumbnails to choose the path of the random generation.
Sometimes when you're thinking about the kind of queries you want on a website, you come up with really complex pieces of shit that end up being rather unfriendly. Have you considered rearranging your database structure? It should be more friendly! Databases shouldn't be so static. Making an interface like PhpMyAdmin isn't hard at all, and you could just drag and drop that shit.