1

I have an issue about the image URL after a migration from Magento 1.9.4 to 2.3. I have some products images which are displayed and some which are not. Then I found out the reason which is due to some letter that should be an uppercase or lowercase.

Example:

Image not displayed
pub/media/catalog/product/cache/2765542505660baab28ecd555e27366e/v/r/vrac_5.jpg

Image displayed
pub/media/catalog/product/cache/2765542505660baab28ecd555e27366e/V/r/vrac_5.jpg

Does had this issue before? And have a solution to fix this ?

  • Did you tried sudo php bin/magento catalog:images:resize to regenerate resized product images – Pritam Info 24 Apr 9 at 10:33
  • @PritamInfo24 I did it but I got an error out "File '/pub/media/catalog/product/i/m/image3861_2.jpg' does not exist." I don't know what to do ... – AnthonyPositive Apr 9 at 12:30
  • It means the image file not exist (/pub/media/catalog/product/i/m/image3861_2.jpg) but in db the path is saved. you may try to use sudo php bin/magento catalog:images:resize -f to generate product image ommiting error. – Pritam Info 24 Apr 9 at 14:31
  • @PritamInfo24 -f parameter doesn't exist sudo php bin/magento catalog:images:resize -f When I use the command catalog:images:resize, I have now this output: Notice: getimagesize(): Read error! in .../vendor/magento/framework/Image/Adapter/AbstractAdapter.php on line 305 Do you have any clue ? – AnthonyPositive Apr 10 at 7:46
  • You are showing a cached folder, can you remove all cache and rebuild? – brentwpeterson Apr 10 at 15:47

Your Answer

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

Browse other questions tagged or ask your own question.