Load gallery on the fly