First of all check if your image host supports an API, the better ones like imageshack and imgur do allow it.

Just follow the docs to upload your image, chances are you'll need to learn CURL as well.
bluefrogx Reviewed by bluefrogx on . Image auto upload help. Hi: I need some help in image code. I have an image stored in my host, i need some code let me upload the image first to some image host website and then retrieve the uploaded image link. And instead of insert image on code from my local host, i add it from the image which automatically upload to image host. Rating: 5