- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2.4.5 Upgrade - Product Page Images Not Showing - 404 Errors
Hi,
We just upgraded from 2.4.3-P1 to 2.4.5 running php 8.1.
On our product pages, all the gallery and main images are returning 404 errors. We can verify that the images are in their proper folders, cause if we remove the cache/#### from the url, the product image shows properly.
I have tried all the usual attempts like running upgrade, setting permissions, cleared catalog images cache, running in developer mode, reindexing, etc.
I'm kind of stuck at this point and do not know how to troubleshoot from here.
Is there any suggestions I can try? Also, we are running nginx.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.4.5 Upgrade - Product Page Images Not Showing - 404 Errors
Hi @Danielc1234 ,
Not sure but you can try below command
php bin/magento catalog:images:resize
Problem Solved? Accept as Solution!
Hope it helps!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.4.5 Upgrade - Product Page Images Not Showing - 404 Errors
I ran that command and it took all day, but still the same issue.
Magento is still writing the incorrect path to the images for the product pages. The category pages are working fine.
Any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.4.5 Upgrade - Product Page Images Not Showing - 404 Errors
My thoughts would be
Stores > Configuration > Web
Update
Secure Base URL for User Media Files
{{secure_base_url}}media/
Also check above it
Catalog media URL format
Is it Legacy mode or Unique Hash?
Finally if all else fails, check plugins