Flask photo gallery