2

I've installed Magento 2 with Data and it all installed well and all data and images where there.

I then created a theme based on Luma and as soon as I activated the new theme all the images have disappeared.

How can I bring the images back?

  • What files do you currently have in your custom theme? Is this something you created from scratch? Could you share some more details of the theme itself to pin down what might be causing the problem. It is common for a typo in the etc/view.xml to cause this kind of error. – circlesix Sep 20 '16 at 21:13
  • It's basically a clone of LUMA. I copied Vendor/magento/theme-frontend-luma and then added that to app...directory. Everything works except that all images are gone – user159500 Sep 20 '16 at 21:29
  • I don't have a certain answer, so i'm just making a comment here, but try removing the etc folder and see if things show back up. Then each folder after that. Also, this could be a compilation issue, so as you remove folders make sure to clear the cache and recompile as you don't want to remove the right folder and not have the change show up in the compiled code. – circlesix Sep 20 '16 at 21:38
  • Which etc folder location? – user159500 Sep 20 '16 at 21:46
  • app/design/frontend/{{vendor_namespace}}/{{theme}}/etc/view.xml. This file has a ton for frontend site configs in it and can wreck all kinds of havoc on your site. – circlesix Sep 20 '16 at 22:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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