Fixed image upload.

- allow only png, jpg,jpeg and bmp image file.
- add a random unique number behind the image name, to prevent 2 image
having the same name (collision)