Posts by xwintermute

Here is a TimThumb troubleshooting guide I’ve seen several authors use in their docs. Hope this helps!

TimThumb isn’t working on your server? Try all of these:

The image must be hosted on your domain. This is for security reasons.
The file Arrowhead/php/timthumb.php should have 644 permissions. The folder Ar-
rowhead/php/cache should have 777 permissions. If this doesn’t work, try giving 755
permissions to cache. See here on how to give files and folders permissions (called
CHMODing).

Make sure your server has the GD library for PHP enabled. Ask your hosting provider,
if you don’t know what this means.

If you try to resize a massive image (a few MB in size, for example), you will run into
problems. try reducing the quality of the image.

If you are hosted with HostGator or if you are not sure what’s wrong, ask your hosts;
often, the mod_security settings play havoc with TimThumb. Your hosts will have to al-
low usage of TimThumb.

Recently, I ran across a problem where the user was downloading bitmap(.bmp) im-
ages and just changing the extension to .jpg. While this may seem like a great idea, a
computer isn’t so easily fooled. You must change the extension correctly (eg by open-
ing the image in Photoshop and saving it as JPG ).