No images when switching WordPress site hosts

Solution:

In wordpress all the links are saved into the database and are not hard coded in the html files. So when you’re shifting your website from one host to another, you must find and replace the previous host’s links with the new host’s links in the database file exported from the previous host before importing it into the new host.

Go to the following links for details.
How to Move WordPress From Local Server to Live Site
Moving WordPress – WordPress Codex

Wish you good luck.