If your browser closes when you take the photo directly with your mobile phone:
- It could be due to your phone's ROM memory; try lowering the photo quality..
- You can switch your browser to Firefox or Chrome.
- You can take the photo and upload it from the gallery. (Best option).