TimThumb Basics
Tim Thumb is a PHP script which will crop and resize your image files for use with WordPress and many WordPress themes.
Configuration Checklist
Here is a checklist to ensure TimThumb is working properly:
- All folders should have permissions (chmod) of 755, especially the cache folder.
- All files should have permissions of 644, especially the timthumbs.php file.
- Contact HostGator to request mod_security whitelisting. You don't need to worry about what that means, just bring this problem to us and we'll help determine if mod_security may be an issue.
Still Having Problems?
Here are some common troubleshooting tips:
- Be sure to review the readme file that came with your theme and follow the thumbnail custom field creation instructions.
- HostGator accounts come with the GD2 library, so there is no need to worry about that.
- Images must be uploaded to your hosting account. You cannot use images hosted on someone else's site or your home computer.
- Large images (over 1000px width or height) must be sized down before you upload them to your hosting since larger images require more memory to resize.
- The path to your image files should be relative to your domain's document root folder. So, if your blog is in /public_html/addon.com/wp-content/themes/Whatever/img/logo.jpg, then the value of your image should be set to /wp-content/themes/Whatever/img/logo.jpg.
- Make sure you are using the latest version of timthumb.php. If you downloaded your theme a long time ago, you will need to download and upload a new timthumb.php file.