added functionality for downloading pictures to /bin/uploads