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,

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>

Replace it with,

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

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.