I copied all the files from my web-server to my local-host. Then i imported the databases as well. All functionality on the site works perfectly, but most of the images are breaking.
I tried opening any image on new browser tab, but i got an error: Error Generating Image.
I checked all the permissions and also the file path in admin/settings/filesystem and it set to sites/default/files.
Whenever i inspect any image i get the following address
It looks fine but it shows Error generating image. Any suggestions.