Cross Domain Timthumb.php

Jan 11

Cross Domain Timthumb.php

This version of Timthumb should work out of the box with WordPress, but it was developed for MU.  I wouldn’t mess with doing relative paths, because this script is highly edited for MU.

Calling it with fully qualified URLs (starting with http or https) will work without a hitch.

Cross Domain Timthumb – Download Now!

7 comments

  1. Dude ! thanks a billion for the script … was searching just this … i am using it on wordpress ( not MU ) … looks fine to me till now :P

  2. I’m glad that it works! Like I said, it should work for WP out of the box, but it was only tested for MU.

  3. Hi there, Thanks a million for this update. Now i can finally fill my sites with affiliate feeds.

    Great work!

  4. Thanks for the tip! I’ve been looking for the solution time for my site and you have solved … greetings!

  5. MadtownLems /

    //$src = get_document_root($src) . ‘/’ . $src;
    $src = ‘/home/jeremy/wordpress-mu/wp-content/blogs.dir/’.$blog_id.’/’.$src;
    return $src;

    This doesn’t seem like it could possibly be correct. (line 586)

    I only had a chance to try this quickly, and it worked for external sites, but it broke any other image. I’ll try to look more into it soon, but thanks for the work you’ve done!

  6. Like I said, it was what had worked on my installation of WPMU, and you would probably have to modify it for your own.

Leave a Reply