cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Product detail page images not loading

Magento Product detail page images not loading

Hi,

I have a latest magento code base and imported the migrated databse from m1 to m2 and copied media files.
In product detail page image was not loading for all products.
In my search for solution given the below command

php bin/magento catalog:image:resize

But after running this command after certain files it gets stopped giving error: Wrong File
Then i go to the media searching that wrong file name there i can see multiple files with same name capital and small letters difference.
if the file name is in capital letters it was showing as text file not image file.
At these files the command stops execution. i cannot delete each and every wrong file manually.

Is there any solution for the product detail page image loading issue. Please suggest

Thanks,
Kiran L