Simplify gallery example.