3

I have created an image and have uploaded this to my theme/web/images folder. I have then ran the following:

php bin/magento setup:static-content:deploy

However I cannot get the image to show on the frontend, viewing the image URL I receive the following error?

Unable to resolve the source file for 'frontend/theme/theme/en_GB/images/Delete-16.png'
#0 /var/www/vhosts/domain.co.uk/httpdocs/vendor/magento/framework/App/StaticResource.php(121): Magento\Framework\View\Asset\File->getSourceFile()
#1 /var/www/vhosts/domain.co.uk/httpdocs/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\StaticResource->launch()
#2 /var/www/vhosts/domain.co.uk/httpdocs/pub/static.php(13): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\StaticResource))
#3 {main}

Any ideas on how I can get my images to show?

Thanks

  • any solution ?? – Manish Aug 3 '18 at 15:40
  • have you found any solution for this? – Jalpesh Patel Aug 10 '18 at 6:29
  • i'm facing the same issue, but with js file, not image, have anyone know how to solve this ? – fudu Aug 10 '18 at 7:55

Your Answer

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

Browse other questions tagged or ask your own question.