If you want to perform a task (like uploading an image) on a seperate thread read
this[
^] and
this[
^] to get a start. Then write some code based on those ideas. If you have some problems with the code you have written post a specific question showing what you have tried.