After installing Magento 2.1, when we check the frontend and backend theme, image is missing and it is not loading.

We may think it is a cache issue. But after clearing cache, the issue is still not fixed.

To solve this issue we need to do some changes in a file di.xml.

di.xml is located in app/etc. Open it.

Find this code,

Replace it with,

Now clear the cache from var/cache folder and also remove the files from pub/static folder except .htaccess

Now refresh the page to see the effect.

If you have any query or other solutions, suggestions, please comment.
Share with your friends. Remember sharing is caring.