Initial gallery code.