Gallery nearly working