WordPress.org

Ready to get started?Download WordPress

Forums

How to update Timthumb (7 posts)

  1. hiramp
    Member
    Posted 3 years ago #

    Honestly, the only issue MU has with themes is if it creates thumbnails using older versions of the timthumb script.

    I've got a multisite WP install (using subdirectories) with the Antisnews magazine style theme installed and enabled for the entire network. I have this theme as my current theme for the root site (/) and everything, especially the images, works fine.

    My problem is when I try to use this same theme for a sub-site (/xxx/). All of the images disappear except for 2 or 3 seeming random ones. Everything else is fine, only the images seem to be affected so I suspect something's wrong with the image cropping routine that creates the homepage thumbnails or maybe the theme is trying to put them into a different subdirectory.

    I came across an old post about "older versions of timthumb" and thought that might help --- or am I barking up the wrong tree?

    Why would the theme crop images perfectly in the root site but then not crop them on a sub-site? Are some of the theme files getting "lost" when called by the subdirectory site?

    Any ideas would be appreciated.

    Thanks in advance.

    Hiram

  2. no, the way the theme has referenced the timthumb script fails to find the rewritten image urls imn the subsites.

    It's not WordPress, it's not tim humb - it's the theme itself that has to be altered.

    http://www.binarymoon.co.uk/2009/10/timthumb-wordpress-mu/
    http://odotteeaux.com/2010/08/16/timthumb-php-fix-for-wordpress-mu/

  3. hiramp
    Member
    Posted 3 years ago #

    Thanks Andrea. At least you've got me looking in the right direction.

    Hiram

  4. eajensen
    Member
    Posted 3 years ago #

    Have you gotten it to work? I've got the same problem. I'm new at php, and I've tried the solutions on the links that Andrea posted. I'm using MU too. My site is carolinaconnection.org.

  5. You have to fix the code in the theme, where the thumbnails are displayed.

  6. hiramp
    Member
    Posted 3 years ago #

    No, I never did. In fact, I'm basically deconstructing my MU sites back to individual sites. I'm having way too many problems with themes as well as with plugins that just don't play well in the shared environment. Plus, I've got some serious performance issues that I haven't been able to track down - I can't prove anything but I suspect MU.

    I'm not trying to knock MU. I've just realized that being able to use my "tried-and-true" themes and plugins is more important to me than combining all my sites in one place.

    Hiram

  7. It is more intensive and dev-centered, and not for everyone. :)

Topic Closed

This topic has been closed to new replies.

About this Topic