0

I followed the tutorial (http://devdocs.magento.com/guides/v2.0/install-gde/install/web/install-web.html), but it doesn't have any images under .....\pub\static\frontend\Magento\luma\en_US\images\
Why? and how to solve it?

I have other images, only do not have logo? svg?enter image description here

5
  • run setup:static-content:deploy command and then check !!! make sure your var and pub directory have writable permission Mar 30, 2017 at 4:51
  • Where and how to run that command? How to make sure those two directories have writable permission. Please see my updated edit. I have other images, I only do not have logo svg images
    – AngularFan
    Mar 30, 2017 at 4:57
  • okay !! if you dont have logo image only !! then check logo is uploaded or not from backend !!! go to - >content->design configuration -> edit your default layout -> header settings -> logo upload if not then upload it and click on save !!!!! you can also check your browser console !! logo not found error is there or not Mar 30, 2017 at 5:00
  • Hi Manthan, when I click 'content' in admin panel, it does not have any reaction. Only 'dashboard' have reaction, others like 'sales' do not have any reaction. Why? Is it common for other people that cannot load svg logo but can load images?
    – AngularFan
    Mar 31, 2017 at 1:11
  • @AngularFan, follow the below steps first and than check again and if you are using the default luma theme than you don't need to upload logo in the admin. Mar 31, 2017 at 5:47

1 Answer 1

0

Open up app/etc/di.xml find the path Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink and replace it with Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

After that remove below directories:

  1. Remove var/cache
  2. Remove var/composer_home
  3. Remove var/generation
  4. Remove var/page_cache
  5. Remove var/view_preprocessed
  6. run php bin/magento setup:static-content:deploy

Hope this help!!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.