After migrating a WordPress site over to a new hosting account, I came across an issue with thumbnails not displaying on the homepage. After researching everywhere, I finally found a solution.
If you get a 404 page or 500 internal server error trying to directly access the timthumb.php script in your browser, try the following:
This solution worked with HostGator hosting so it may or may not work with other hosting providers. It seems there is a security issue with given permissions to folders and files to allow the timthumb.php script to run.
- set the permissions of the following directories using chmod to 755
- wp-content/themes/(theme folder)In my case Mimbo
- set the permissions of the following files using chmod to 644
- *all images that will be resized by timthumb.php (for example: all of my images were in wp-content/uploads/