TimThumb is my favorite Auto Generated Thumbnail code ever seen, simple to use and work great in almost server. But there are readfile function problem on some server in TimThumb auto resized imaged on the fly, this script development by Darren Hoyt and Tweak by Ben Gillbanks, The problem that I currently have is readfile function that disabled by Hosting Server Administrator, they said disabled this function for security reason. So I googling to find out how to fix this problem.
How to Fix readfile Problem on TimThumb
February 6th, 2010 By WP Tricks Posted in TipsAfter we googling with several keyword, I got the best solutions from OJAK AJA, and here what we must do. Open your TimThumb script and find this code (around line 496 on version 1.12)
readfile( $cache_file );
Then you need replace readfile function with file_get_contents, Sigiro said, this is the best method, beside file_gets_contents, there are several PHP Functions we can use, such as fpassthru, back to this tricks, to make your TimThumb work, replace code above with this code
$img_data = file_get_contents( $cache_file ); echo $img_data;
And done, this tricks work like charms in my server client. I hope tricks to fix Readfile Problem on TimThumb is worked on you too
Related Posts
How to Fix readfile Problem on TimThumb On The NET
How to Fix readfile Problem on TimThumb # WordPress Tricks & Tips
TimThumb is my favorite Auto Generated Thumbnail code ever seen, simple to use and work great in almost server. But there are readfile function problem on some read more
Source: http://wptricks.net/how-to-fix-readfile-problem-on-timthumb/
Fix readfile Problem on TimThumb › WordPress Vote
There are readfile function problem on some server in TimThumb auto resized imaged on the fly. The problem that I currently have is readfile function ... read more
Source: http://wpvote.com/2010-02/wordpress-hints-tips/fix-readfile-problem-on-timthumb/
Fix Readfile Problem on TimThumb Script / WordPress Themes ...
Did you know, some of our GPL WordPress Theme created using TimThumb to generated better thumbnail for the WordPress Content. The scripts have some problem on read more
Source: http://wpgpl.com/wordpress-tricks/fix-readfile-problem-on-timthumb-script/
Fix # WordPress Tricks & Tips
How to Fix readfile Problem on TimThumb February 6th, 2010 By WP Tricks Posted in Tips read more
Source: http://wptricks.net/tag/fix/
How to fix readfile error from TimThumb script,Php/Mysql/Ajax ...
How to fix readfile error from TimThumb script ... function, coz many server disable this service for all due to hacking problem ... read more
Source: http://www.w3cgallery.com/w3c-blog/php-mysql-ajax-hacks-trick/how-to-fix-readfile-error-from-timthumb-script
Amazing Touch
- timthumb not working
- timthumb wordpress not working
- TimThumb wordpress 3 0
- timthumb problem
- timthumb
- timthumb wordpress 3
- timthumb problems
- timthumb external url
- thumb php not working
- wordpress timthumb not working
- timthumb plugin
- timthumb wordpress 2 9
- timthumb php not working
- wordpress timthumb
- timthumb wordpress

Maybe it was a CHMOD permissions issue. cache / temp and timthumb.php needed to be 755 instead of 777.
http://www.jeffkee.com/timthumb-php-404-apache-php-security-chmod-755-777-error-lo/