WordPress.org

Ready to get started?Download WordPress

Forums

timthumb issue in WordPress MU (6 posts)

  1. nazariya
    Member
    Posted 2 years ago #

    Can anyone please tell me how to use this code in WordPress MU.

    MY Theme has got his code as timthumb function

    [Code moderated as per the Forum Rules. Please use the pastebin]

    and then these images are called in the page using this format -

    <?php echo catch_that_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=166&h=166&src='); ?>

    So this works fine in Normal WordPress but doesn't fetch images in WordPress MU. I studied a lot and i am aware that wordpress MU requires some modifications in timthumb so that exact path can be fetched. However, i am not able to add the correct path to fetch automatically in this code.

    Looking for urgent help from experts and users

  2. Jorge
    Member
    Posted 2 years ago #

    If your theme provides the option to "turn off" TimThumb, that may fix the problem.

    If you're not familiar with TimThumb, it may not be a good script to use as attackers exploit Websites that have a poorly configured TimThumb.php file.

    The other recommendation is to use another theme that doesn't employ the use of TimThumb.php.

  3. TimThumb doesn't like the WP Multisite method of image storage, either. So ... yeah, google 'Timthumb multisite' and you will see you're not alone.

  4. nazariya
    Member
    Posted 2 years ago #

    ya i know.. i am searching for past several days.. I need a solution...

  5. nazariya
    Member
    Posted 2 years ago #

    I found that moderator has removed my above code. So i am pasting the timthumb code through pastebin.. Anyone.. please.. Do you know how to make this work in MU?

  6. You do not change the tim thumb script. You need to change the code *in your theme* where it pulls the thumbnail.

    No, I do not have the code as it is slightly different for every theme.

    This may or may not help:
    http://wpmututorials.com/hacks/timthumb-workaround/

Topic Closed

This topic has been closed to new replies.

About this Topic