bugfix and allow to download uploaded photos