TimThumb not works, how to solve it

TimThumb not works, how to solve it

TimThumbs not works? here is some tips to solve it

TimThumbs were a great script that could resize our image (that stored inside our own server), so it can fit with our theme properly. Almost all premium theme use this great script, and some free theme also use it, because this script were free to use.

The problems is, some server (hosting) were denied this great script. Lest say that i ever got this trouble. I ever move a site from Hostgator into HawkHost. The previous site were working nicely, all thumbnail were show (inside the hostgator server), but when i move into Hawkhost, all image gone blank.
I inspect the image url, and all is same, not change at all. I wonder how this could happen. All tips about change the CHMOD of cache folder is done, but the problem still remain.

One tips that i ever use (an it works) is this :
Change the original image like this :
http://www.xxx.com/wp-content/themes/xxx/timthumb.php?src=http://www.xxx.com/wp-content/uploads/2011/12/0b634__51vDWOwZmPL.jpg&w=280&h=300&zc=2&q=100
into this :
http://www.xxx.com/wp-content/themes/xxx/timthumb.php?src=wp-content/uploads/2011/12/0b634__51vDWOwZmPL.jpg&w=280&h=300&zc=2&q=100

I do that trick by change the “value” inside the customfield by deleting the main url (http://www.xxx.com/), so i only fill it with url start with wp-content

The trick were works, but it still not answer the previous questions. How this could happen? Should i change all of my post?

Today, i found a very good tips from solidwebs.com, that this problem could be solved just with small script modification inside our .htaccess file. By put this script inside your .htaccess file, the timthumb.php script will works again.

Add this script inside your .htaccess

SecFilterEngine Off
SecFilterScanPOST Off

Facebook comments:

One Response to “TimThumb not works, how to solve it”

  1. ViMEDIA says:

    Thanks you my bro, it’s (another) useful tips came from your cool blog…
    GBU

    [Reply]

Leave a Reply

Your email address will not be published. Required fields are marked *


+ three = five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

AutoBlog Theme located at Indonesia , Malang, East Java . Reviewed by 98 customers rated: 4.4 / 5