Blog thumbnail images not loading when migrated to Digitalocean

March 3, 2015 799 views

I migrated wordpress website to digitalocean and since then blog thumbnail images not appearing. When I click inspect element I get blank tag with no src as shown <img src="" width="" height="" >.

All the other images are working well. I tried giving the 777 permission and still no luck.

Looking for some help.


1 comment
  • There are two things I would recommend checking to start:

    1.) Does the thumbnail generation use a particular php module to function such as gd or imagemagick? If so, make sure the required module has been installed and enabled.

    2.) You mentioned giving 777 permissions. This is usually not recommended, instead you should just ensure that the files are owned by the same user the apache process runs as "www-data" you can do this with the following command:

    chown -Rf www-data:www-data /var/www/
Be the first one to answer this question.