Simple gallery generation working