Hi,
I am experiencing an issue on Magento 2.4.7 p3 after an upgrade from 2.4.1.
All my product catalog images are having the wrong cache path, even when I delete cache use the resize cli command and have the full catalog cache the images are in a different cache folder compared to what the frontend is looking for.
I have search multiple reasons for this but I am out of ideas for why these values will not be aligned.
Thank you
Hi @officeanve5939 ,
Apply the ACSD-51884 wrong cache path patch
Magento 2.4.7-p3 shipped with a bug in the CLI resize routine that causes the internal cache-folder name to be generated incorrectly. Adobe has released ACSD-51884: Product image cache path incorrect on resize command as a Quality Patches Tool (QPT) patch to correct it
As well as double check your base media url
If you’ve customized your Base Media URL (e.g. pointing to a CDN or sub-directory), make sure it has no extra path segments or trailing slashes that could shift Magento’s expected cache-folder name:
Stores → Configuration → Web → Base URLs
Base Media URL: {{unsecure_base_url}}pub/media/
Base Media URL (Secure): {{secure_base_url}}pub/media/
Any typo here will cause Magento to prepend or append an unexpected folder name when rendering <img src="…">
Problem Solved? Accept as Solution!
Thanks,
Ankit
It looks like the patch ACSD-51884 is not available fro my version of Magento 2.4.7 p3
I highly recommend that you upgrade to 2.4.8 as soon as possible, including PHP and Maria DB.