Crazy wildcard gallery code.