server now writes files to /photos