16 thoughts on “I No Longer Use TimThumb – Here’s What I do Instead Leave a comment

  1. Nice Post.

    Photon is really good, but it only handles images. KeyCDN offers 25GB CDN credit when you sign up, no credit card required, so take advantage of this offer.

    1. That’s true – but since the majority of bloggers only need a cdn for images I don’t see how this is an issue. It’s free and super easy to setup – plus it resizes images. Other cdn providers may be better but they take more effort to setup and will likely require payment.

  2. I hadn’t heard of Jetpack until today, but it appears to be a suite of WordPress tools for WordPress sites.

    What about those of us who were looking into TimThumb for non-WordPress websites (ie, made from scratch)?

    What do you recommend for us?

    1. To be honest I don’t have any recommendations. I only make WordPress powered sites so I’m afraid I don’t know much about other options available.

      1. That’s a shame, I’ve been looking for a dynamic image resizing solution for regular (non-Wordpress) websites.

      2. well TimThumb does still work – and it was inspired by a script called PHPThumb, I don’t know if that’s still available/ maintained – TimThumb was built to be a lot simpler to use but perhaps that will help

      3. I’ll look PHPThumb up in a minute, thanks. Final question, is it possible for the server to serve custom sizes of images (like TimThumb) WITHOUT using a cache folder? In other words, can it do it without creating new physical files for every new size that’s needed, the very first time it’s needed? It wouldn’t be technically feasible, right?

        I heard rumblings that it was possible, but Google has yielded little evidence of it.

      4. technically it’s possible however it’s not recommended since resizing images uses a lot of server resources and so is quite slow. If you have a lot of images to resize then it will slow down your server and reduce the amount of people who can visit your site at any one time.

      5. Looks like PHPThumb was dormant for a while, but acc. to its changelog, development has started again. Thou of corpse it aint as straightforward to use as TimThumb.

        If demand is high, I might consider releasing my NON-WordPress-focused, PHP- and TimThumb-inspired thumbnail scripts. They are strictly focused on ImageMagick, thou.
        One is a very simple thumbnail script, the other does happy dimension juggling and image editing using montage. Been using the latter one for years to create simple background hover thumbnails (b/w to color). See it in action at my old site: http://old.usability-idealist.de/

        cu, w0lf.

  3. I never used Timthumb from the start, I find it hard to integrate on my themes. I use aqua resizer instead, it’s easier and cleaner, the author is the same of SMOF option framework.

    1. Thanks for the feedback. I know there are other plugins so it’s nice to see one recommended. Personally I still think Jetpack with Photon is the best though – if only for the cdn functionality.

  4. For most small blogs, CDNs don’t matter much – just an extra layer of complexity. Timthumb was by far the most straight forward solution which I used on my personal blog where as in all others, you have to worry about one thing or another e.g. past image processing etc. After the exploit, I had to remove it and used image magick to convert all past images to appropriate sizes and then used WP Post Thumbnail plugin.

    I guess I had too much time on my hands! I wish this becomes far more simpler in future and then it is now!

    1. Hi Rajat – if you use Jetpack and Photon then you don’t need to do anything. Just enable the plugin. It’s definitely the simplest solution IMO πŸ™‚

  5. I used to use Amazon Cloudfront with Total Cache for a while. But since photon came around I have been using it without any issues.

    BTW the author of the Regenerate Thumbnails WordPress plugin (Viperbond) works for Automattic if you guys didn’t know already, hence the recommendation to use Jetpack. Most likely his code is used and enhanced in Jetpack πŸ™‚ .

Leave a Reply

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