Sometimes you get in a situation where you feel like you just hit a brick wall and anything you do won’t work in fixing a particular problem or issue. Did this happened to you too? You probably know what I’m talking about. Same thing happened to me a couple of days ago when I decided to change my WordPress theme on my blog. I’ll tell you in a minute what Twitter has to do with all this.
I found a great looking theme, professionally designed, produced by the famous WooThemes Team. The theme I’m talking about is the one you probably see in front of you right now. It’s called The Original Premium News.
I knew what I have to do in order to change the theme in my WordPress Admin area so I went right ahead and changed it. But little did I know that this, apparently simple task of changing a theme on my blog, would cause me so much “pain”.
Now, this nice looking theme has an open-source script integrated that re-sizes images and thumbnails on the front page, automatically. This script is called thumb.php and it wouldn’t work for me even if I “begged” it. The problem that occurred was eventually solved by looking for information about thumb.php on various forums, bulletin boards, and developer groups. I’ll give you the full details below.
But the interesting fact is that I had an idea at some point, when I was running out of options, to send out a tweet on Twitter and see if someone would respond. Minutes pased by and nothing happened. I was dissapointed, to say at least. But suddenly my followers started to respond and doing their best to help me out. Even though they couldn’t find a technical solution to my problem, they did help me by supporting me and giving me confidence to go on and solve this issue.
Keeping in mind that Twitter was my last resource I could think of, and that I was ready to give up and delete the theme and set up another one, you probably know where I was standing (read: “edge-of-a-nervous-brake-down”). But luckily for me, my friends on Twitter persisted and eventually I got the idea of contacting one of the developers of thumbs.php, directly on Twitter, and I got a response from him (Darren Hoyt) in a couple of minutes, directing me to a forum built specially for this purpose.
So, I can’t thank enough my friends on Twitter who inspired me to keep trying. These are a few of them and I apologize if I missed somebody: @dshiggins, @darrenhoyt, @lukerumley, @shoestringing, @a3austin, @simonerubin, @mcleodg, and probably many more who re-tweeted my “cry for help”. Thank‘s again guys, you ROCK!
Now for the more technical aspect of this let me explain what to do and how to do it:
How To Fix thumb.php To Properly Display Images?
The best information I could get was the Google Code forum for open-source projects. You can see the original timthumb.php developements and you can also contribute:
http://code.google.com/p/timthumb/
After I tryied everything from changing file permissions with my FTP software, to altering the thumb.php script and nothing worked, I found the answer I was looking for: It wasn’t me, it was my Hosting Provider, which is HostGator for me. Found the answer here:
http://code.google.com/p/timthumb/issues/detail?id=8
If you are on HostGator, all you have to do is contact them by going to:
Click where it says: “Click here. Live Chat” on the upper-right corner of the web-page and tell the followings:
add following rules [ 1234234,340151 ] to mod_security for www.yourwebsite.com
Please whitelist for the domain
That is all you have to do. Wait a couple of minutes and you’ll probably see the images on the front page of your web-site.
Since thumb.php or timthumb.php is an open-source project, more and more WordPress theme developers use this little script and integrate it on their projects. So keep your eyes open because I’ve seen thumb.php used on other themes as well.
Here are a couple of more resources to help you:
http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/
http://www.woothemes.com/2008/10/troubleshooting-image-resizer-thumbphp/
http://www.wpconfig.com/2008/10/16/troubleshooting-image-resizer-thumbphp/
http://www.darrenhoyt.com/support/forum/timthumb
If you have other questions or issues go ahead and drop me a line. I’ll give my best shot in helping you solve any issues you might have.

![Validate my RSS feed [Valid RSS]](valid-rss-rogers.png)
{ 3 trackbacks }
{ 22 comments… read them below or add one }
Remi,
I absolutely LOVE how you took this problem and turned it into a blog-post! Quite brilliant. Many people have had trouble with this issue and you, not only solved it for yourself, but have helped so many other people in the process. Kudos to you!
Thanks Jessica,
My primary objective is to help as much as I can, whoever I can, and I’m not just saying that as a hyped up cliche, I really do mean it.
And if I do get to help someone out then I’m more than satisfied with that awesome feeling.
Kudos back to you too!
And here’s another article for folks interested in adding timthumb to their WordPress theme
Remi,
You came I came at the right place at the right time. I certainly experiencing the same thing. I tried to email hostgator and included you suggestion but seems like they can’t get me. But still I’m not loosing hope and I will fix it whatever it takes! lol:)
I will give you an update as soon I fix it.
Btw, I noticed your side menu bar is like mine… the “Tag Cloud” was so annoying and keeps on appearing though you click the other menu bar. I was able to fixed it already.
I found that there are other files missing when I extracted it directly to my host. Try checking “js” files if its there.
I trying to find-out a solution also for the video feature of this theme, please let me know if you tested it and how was it.
Hi Remi,
Great blog. I recently started tweeting and am only beginning to find out all of its possibilities.
Thanks for sharing your post. Now I know of another possible resource should I have a problem with my WP blog
Ryan
I’ve been looking a long time for a blog like this one, and now the questions needed answering have been dealt with. great!
Thank You very much for this Post. And for this Comments. I changed my Template with the Option where Chad talk about. It looks very nice.
Use OpenSource! Peace! Greetz from Germany.
Thank you for the great info
I am also stucked with showing Video with this theme. As soon as I enable the option to display video and select the appropriate category, everything disappears from my blog homepage.
any clue?
@ Vapin,
I haven’t posted videos yet so I don’t know if it works or not. Hopefully it won’t cause any problems. I had enough
I have had so much trouble with this and my hosting providers are refusing to adjust it for me. Please could you tell me how I could do it myself
my hosting providers lcn.com told me that it was because the theme is looking for the images in a different place to where they are and that I must alter this in the script but I have no clue how to do that
I really like this blog good job.
I hope you keep this blog item up for search engines. I was in the same situation as you, using hostgator. I was exhausted…and the solution was something that I would NEVER find on my own. Thanks for taking the time to post this! I like your site.
It’s interesting how lonely I felt at that time, thinking that it’s happening only to me, but I guess I wasn’t alone. Actually, I wrote this article because I want to help and I didn’t want people to go through what I went at that time. So, the article stays there. And besides, I get a ton of traffic to that article from search engines, so clearly a lot of folks face this issue. Thanks for your comment and please stop by sometimes when you get a chance. I’ll be visiting your blog as well
Hi Remi,
Though hostgator said they fixed my permissions as you noted, I still haven’t figured out how to use that thumb.php script and get the whole thing to work. I am ready to scrap it but I see how nice your site looks. I follow the instruction to paste the photo URL string code into the bottom panel created specially for this template and it doesn’t work. Is there a reason you got ride of your photo portion? Your site is chock full of great search engine tips. I am a travel writer trying to launch my visitsandiegohotels.com with this template. I am so frustrated at being non-technical. Keep up the great work and thanks! Debbie Stock
Solid post. Thanks! This is the first problem I’ve had with Host Gator. I really like them, despite this. Haha.
You just seriously saved my life, especially since the woo theme peeps won’t help with free themes. You have saved a lot of people from virtual-suicide. I did live chat with hostgator and they fixed everything in 3 seconds.
You are a life saver.
Hey Michael,
Glad I could help. We both know how irritating could be the fact that you have nowhere to turn for help. The same thing happened to me. I was frustrated for 3 days trying to figure it out. Finally it all came down to that 3 minute chat with hostgator.
Thanks for your kind words. I really appreciate it!
Remi I owe you a beer or something. This was really getting to me. Now it is all wonderful. You are a real Buddha!
Thanks so much.
Nicholas,
I’m always glad when things work out okay… But if I can contribute then it’s even better
Take care man
I don’t got any trouble like you sad but I got one which was similar like your issue. I using Fresh News theme from WooThemes and when I try to using thumb.php, i published new article with it and the image won’t show at first time. I using Firefox and right click to image and ” Reload ” it. It showed, next time worked well. But any new article published with first time, it happened again. How can I solve this trouble ?
I think its nothing you should worry about. It’s probably just a delay caused by the server. It happened to me as well with WooThemes.