TimThumb users and WordPress Theme users using TimThumb, please upgrade

News [April 24th, 2012]: I’ve launched Wordfence to permanently fix your WordPress site’s security issues. Click here to learn more.

I’ve done a ton of work on TimThumb this weekend and there are a few great enhancements. E.g. if you have pngcrush or optipng installed, it will now use 66% less disk space and give you comparable quality images.

Please grab the latest version of TimThumb on this page. Then let me know if you have any feature requests or find any bugs by reporting them here.

Here’s the TimThumb changelog since I released 2.0 about 48 hours ago.

55 thoughts on “TimThumb users and WordPress Theme users using TimThumb, please upgrade

  1. You can certainly see your expertise in the article you write.
    The arena hopes for even more passionate writers like you who are not afraid to
    say how they believe. Always follow your heart.

  2. sorry image didnt display
    “EAC to harmonise insurance regulations toward common market” src=”http://www.riskafrica.com/wp-content/themes/zenko/functions/theme/thumb.php?src=http://i0.wp.com/www.riskafrica.com/wp-content/uploads/2013/06/EAC-to-harmonise-insurance-regulations-toward-common-market.jpg?fit=1024%2C1024&w=90&h=80&zc=1&a=c

  3. Hi Mark

    Please can you help

    My url on image are showing like this

    on my home page from my post..

    how can i fix this

  4. Hi Mark
    I ‘ve moved my website and the thumbnail.php file has disapeared, so obviously the images appears broken on my site. I am new at all this, so can you tell me what i should do and how to do it, so all the images from my blog can show up again…thanks

  5. Hi there,

    I’ve got a problem with thumbnails not displaying on a new site I’m building for a client. They are created ok, but in the Grid display, all I get is:
    http://108.179.231.22/~maple/wp-content/plugins/wp_ds_ajax_grid/timthumb.php?src=http://108.179.231.22/~maple/wp-content/uploads/2012/10/12_6182_Wanaka_Wedding5.jpg&w=201

    If I remove the ” &w=201 ” from the direct URL to the image, it will load in a browser ok.

    You ca nsee what I mean in this page at: http://108.179.231.22/~maple/wedding-venue-wanaka.html

    This “no thumbnail image” display problem also occurs with a couple of other plugins I’ve tried… I have contacted Hostgator and there is no issue with mod_security or GD Library, and directory permissions are correct at 755.

    If you’ve any suggestions, I’d like to hear them… :-)

    Kind regards
    Ben

    • SOLUTION FOUND:
      Apparently, there is an issue with temporary URL’s that Timthumb cannot cope with. As this was a site redesign, the simple solution was to register a $4 .INFO domain and laod the site onto that. Suddenly, everything worked as it should.

  6. My issue with the “Timthumb could not find internal image” error and nginx was that the document root wasn’t set right.

    My issue was that I needed to fix the location setup, the fastcgi examples on the nginx site were incorrect.

  7. Hi, i had install the new version of timthumb( 2.8.10) in my wordpress 3.3.1 site and now i can’t see the image in the home screen and in the search and category page…what can i do?

    please help me :)

  8. I am using timthumb on one site and want to load a resized image into my php script to save it into a blob. But somehow the image cant be loaded. I thinkit is something with the query string. How would one load a timthumb image into php ?

  9. Hello,
    the problem persists in chrome and opera, while in ff and ie8 works fine. That is after updating to 2.8.10, emptying cache folder, giving permissions 777. Any ideas why?
    Thx

  10. Hey!
    I’ve found a big problem: tinythumb (as of 2.8.5) can’t really cope with chrooted docroots. That is, for php the docroot is /home/html/, but realpath gives /chroot/home/html.
    Solution: last line in the CalcDocRoot function should be:
    $this->docRoot = realpath($docRoot);

  11. Hi,
    sorry to join the masses submitting problems to you, however I no longer no what to do or where to look for help.

    My site was loading images fine using TimThumb, then I did the recent update and everything stopped working!
    Ive been changing the permissions (as per hundreds of online suggestions), ive reinstalled TimThumb, ive deleted and recreated image items, ive modified the timthumb.php file as per many online suggestions (resorting back to the original version after each update failed) but still can not get the site to load images in teh catalogue pages.

    Am I able to ask for support please?
    What is the cost?

    Thanks in advance for repplying to this post.
    Regards,
    Jon

  12. Hello,

    The images are not appearing well for me. I upgraded the script to latest version and also set the cache permissions to 777. Still no luck!

    I’ve pasted the website url in website field so you can have a look.

    Any help would be appreciated.

    Thanks in advance

  13. A TimThumb error has occured
    The following error(s) occured:

    Could not find the internal image you specified.

    Query String : src=http://66.147.230.132/~viking/wp-content/uploads/2012/03/timthumb-12.jpg&w=248&h=180
    TimThumb version : 2.8.10

    above error is occured when i access thumbnail image
    help me to solve this

    • I was having the same issue with a plugin using TimThumb. I echo Serder’s finding (Nov 22 entry) findings. I changed the plugin’s cache folder permissions to 775 and the images began appearing.

  14. OK – I resolved this by going into my wp-content>plugins folder (via ftp) and removing one of 4 plugins that contained the timthumb script – in my case the 1st one I pulled (“connections”) brought my site back up

  15. ditto – no help found in google search. Site is down! – what can we do to restore?

    >A TimThumb error has occured
    The following error(s) occured:

    No image specified

    Query String :
    TimThumb version : 2.8.5<

  16. I am also having the same problem after updated wordpress thumbnails are not displaying,i have set 777 and 755 permissions,still it is not working…please help me…

  17. hi mark… i have a problem..

    A TimThumb error has occured

    The following error(s) occured:
    An error occured fetching image.

    Query String : src=http://www.aia.com.pywp-content/uploads/2012/01/1310330210-img-0666-1000×626.jpg&w=70&h=50&zc=1&q=100
    TimThumb version : 2.8.5

    help me

  18. Hi Mark, I’m building site before switching name servers (as you can see by url path). Running latest version of TimThumb (2.8.5). wp ver 3.3.1. php ver 5.3.6. for what it’s worth, the site is using a Themeforest templated called Vulcan.
    ——-
    Error: A TimThumb error has occured

    The following error(s) occured:
    Could not find the internal image you specified.

    Query String : src=http://199.102.225.32/~sageclar/wp-content/uploads/2012/01/slider-img1-e1326597768337.jpg&h=280&w=610&zc=1
    TimThumb version : 2.8.5

  19. Help
    A TimThumb error has occured
    The following error(s) occured:

    Could not find the internal image you specified.

    Query String : src=http://blogandgeek.com/wp-content/uploads/2012/01/facebook_wallpaper_blogandgeek.png&h=&w=280&zc=1
    TimThumb version : 2.8.5

  20. Mark, I can’t get mine to work at all. Running on a windows box with the latest version (2.8 of timthumb). No matter what the thumbnails don’t show up…any sugguestions?

    -Jonah

  21. Hi Mark. I can’t thank you enough for getting TimThumbs fixed and functioning.
    I had a client’s website hacked thru the vulnerability (and luckily two that were not). I updated TimThumbs on all and cleaned up the crap files on the server. Everything was going well until today. Now when visiting my client’s site, I’m getting requests for “counter-wordpress.com”. Looking that up on whois, it’s registered to the same Archil Karsaulidze.
    My client’s site is http://www.ken-a-vision.com, if you want to take a look.

  22. Hi Mark,

    I have updated timthumb because of the latest rash of hacks but now on one site : mainequalityinformationpartners.com the timthumbed images are not loading. I see others had this problem and I was wondering if there was a solution I have missed. THanks for any help.

    best
    Chris

    • Hi Viad

      Can you tell me what line of the script you changed to make the absolute path.

      Kant seem to get this thing working done all the 755 etc.

      An I don’t see any post as to how to fix the issue.

    • Andy as noted below I’ve been working with some of the devs that reported issues and they’re no solved. Please grab the latest version and you should be all set. (or email me at mmaunder at gmail for a fast fix).

  23. Hi,

    Thanks for the work on the script. However, like Vlad, I’m having issues with the images. We are using the ENews theme from Elegant Themes – when I swap in the new TimThumb.php file all images disappear. The previous version worked fine for all of out themes – this one appears to have an issue. Can you please suggest a resolution? I’ve reverted back to the original for now.

    Thanks
    Daf

  24. Hi Mark,

    I’ve upgraded the script today to the latest (2.4) version and currently having troubles to make it work. The images are not loadind anymore and all the files in the cache folder are being generated with filesize zero. Also if I load the url in the new window it returns an error: ‘A TimThumb error has occured (An error occured fetching image.)’. Does it have anything to do with PHP settings/extensions, as the old insecure version of TimThumb worked fine and I haven’t change any settings on my system after the upgrade to 2.4?
    I would be very grateful for your help.

Leave a Reply

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

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>

Notify me of followup comments via e-mail. You can also subscribe without commenting.