cancel
Showing results for 
Search instead for 
Did you mean: 

Images won't load in magento 2

Images won't load in magento 2

Images won't load in my magento webshop. After installing the theme none of the images in the static blocks, sliders.. were showing. Only the logo is the only thing i can see.

 

What could this be?

3 REPLIES 3

Re: Images won't load in magento 2

Hi @maron_b

 

As you have installed the new theme , so you required to run deployment and compilation process , that 's the reason you are not able to see anything.

 

so to do content deploy and compilation , run below commands in sequence (You can run this commands from your  SSH Terminal)  :

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Hope it helps !

 

if issue solved,Click Kudos & Accept as Solution

Re: Images won't load in magento 2

Hi @Manthan Dave,

 

Thanks for the suggestion, but it didn't change anything.

I realy don't know what the issue is.

 

Re: Images won't load in magento 2

Hello @maron_b

 

Please check below thing

1)  .htaccess file exist into pub/static

2) check media path url in db

 

If you are not able to solve it share your website URL.

 

hope it will help you.

 

If works then mark as solution.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer