cancel
Showing results for 
Search instead for 
Did you mean: 

Images and Product Details Not Loading on Frontend Magento 2.4.1

Images and Product Details Not Loading on Frontend Magento 2.4.1

I have a new installation of Magento 2.4.1 installed on Digital Ocean with Nginx, Redis and Varnish. I have tested this configuration numerous times using the sample data and Magento 2.4.0 without issues. However, when I try to upload my own products with images, the images display correctly on the admin backend but on the front end, no images appear in search results and the product details page does not display images or finish loading the page. I am not sure if this is a 2.4.1 issue or if there's something else I'm missing.

6 REPLIES 6

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

An update to this... I got the image to display on the search results by changing the permission on the /pub/media folder to 777. However, when I open any of the items, the page is still dimmed and I cannot click on anything.

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

Hello @joe_masciangelo ,

 

Run below commands :

sudo chmod -R 777 var/ generated/ pub/static/ pub/media/
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:flush
sudo chmod -R 777 var/ generated/ pub/static/ pub/media/

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

I tried this but it unfortunately did not work.

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

I have the same error. Did you find any solution?

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

In my particular case, the problem was with my theme. The theme devel


@cengizcoskb485 wrote:

I have the same error. Did you find any solution?



oper had yet to update their code to use with 2.4.1. Once they did and I updated my theme, everything worked properly again.

Re: Images and Product Details Not Loading on Frontend Magento 2.4.1

Please can you share the solution?


@joe_masciangelo wrote:

In my particular case, the problem was with my theme. The theme devel


@cengizcoskb485 wrote:

I have the same error. Did you find any solution?



oper had yet to update their code to use with 2.4.1. Once they did and I updated my theme, everything worked properly again.



@joe_masciangelo wrote:

In my particular case, the problem was with my theme. The theme devel


@cengizcoskb485 wrote:

I have the same error. Did you find any solution?



oper had yet to update their code to use with 2.4.1. Once they did and I updated my theme, everything worked properly again.



@joe_masciangelo wrote:

In my particular case, the problem was with my theme. The theme devel


@cengizcoskb485 wrote:

I have the same error. Did you find any solution?



oper had yet to update their code to use with 2.4.1. Once they did and I updated my theme, everything worked properly again.


Please can you share the solution?