Python Flask Photolog