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.

  • Try comparing local settings with your on-line host. Do you use default php library for image styles (GD Library)? – Lukas C May 23 '13 at 10:19
  • File permission could be the problem. Check the file permission and update the same in local. – pown May 23 '13 at 10:20

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.