There was a problem loading the comments.

TimThumb basics

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Tim Thumb is a PHP script which will crop and resize your image files for use with WordPress and many WordPress themes.

Here is a checklist to ensure TimThumb is working properly:

  1. All folders should have permissions (chmod) of 755. Especially the "cache" folder.
  2. All files should have permissions of 644. Especially the "timthumbs.php" file.
  3. Contact Osirion 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 mistakes:

  • Make sure to read the readme file that came with your theme and follow the thumbnail custom field creation instructions.
  • Osirion accounts come with the GD2 library, so 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, as 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 need to download and upload a new timthumb.php file.

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA
© Osirion System Technologies