5

I have multiple stores setup with more then 100K products and 500+ categories.

So my issue is when I upgrade Magento 2.2.6 to 2.3 the product images are coming properly from main store but some products images are missing from other stores, the images path are alright but the generated cache hash is wrong in other stores.

I have research for the issue and found that this is the bug in Magento after upgrade, So do you guys have any alternate solution for this ?

Any help would be appreciated.

Thanks!!!

  • run chmod 0777 -R var pub generated 0r chmod 0777 -R var/* pub/* generated/* – Jugal Kishor Apr 15 '19 at 5:03
  • @JugalKishor thanks for your suggestion but I have already run this lots of times, do you have any other suggestion ? – Dev Link Apr 15 '19 at 5:38
  • run php bin/magento catalog:images:resize – Jugal Kishor Apr 15 '19 at 9:07
  • Regenerate your images and flush the image cache from command line find doing using browser doesnt seem to work correctly – Dava Gordon Apr 15 '19 at 9:37
  • @DavaGordon I have already tried this but not working for me. – Dev Link Apr 17 '19 at 12:33
3

You should try using the image resize command to pre-generate all necessary resizes.

php bin/magento catalog:image:resize

This command gets all the images sizes that have been defined in the theme XML and regenerates the images in their correct folders. after that please remove image cache and flush Magento cache

You can also check the command documentation for more information http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/theme-images.html

1

Please go into Back Office, go to

system => cache management

flush catalog images cache

and then run

php bin/magento catalog:image:resize 

on command

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.