Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Ajay

    (@ajay)

    Hi,

    The reason you see this link is because it is encoded and passed as a parameter to the timthumb script.

    Can you point me to a post on your site that has this so I can take a look?

    Thread Starter darkf3d3

    (@darkf3d3)

    Yo can see it on dottor gadget (dot) it

    Plugin Author Ajay

    (@ajay)

    I’m looking at this post “Il fermacarte “Tuco” di Breaking Bad” but I don’t think I see the Related Posts on that page

    Thread Starter darkf3d3

    (@darkf3d3)

    i tried to empty cache, the text of the module is “ASPETTA! CI SONO ALTRI GADGET… ” and there’s only 1 article showed, i limited it because as you can see there’s no image showed.

    Plugin Author Ajay

    (@ajay)

    Is this the problem with all images on your site?
    Have you checked the permissions on timthumb’s cache folder?

    Thread Starter darkf3d3

    (@darkf3d3)

    No i’m using your top 10 plugin and image with timthumb works.

    Plugin Author Ajay

    (@ajay)

    Top 10 uses timthumb which is probably the script in question causing the error. The URL of your image is definitely fine.

    Potential Problems

    There are two areas where there could be problems with offsite image resizing.

    Folder Permissions. Accessing the external images can be slow so they are stored in the cache directory setup in getting started article. For this to work the ‘cache’ directory must be created in the same directory as timthumb.php and it must have it’s file permissions set to 775.
    Allowed Site Restrictions. As I mentioned earlier in this article there is a list of websites inside the TimThumb script and if you are trying to resize an image that is not on an allowed domain then it simply won’t work.

    Please check http://www.efrogthemes.com/tips-and-tricks/timthumb-not-displaying-images-lets-fix-that/
    Please also try this: http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/

    Lastly, you might need to check with your host if they are blocking timthumb.

    Thread Starter darkf3d3

    (@darkf3d3)

    One thing that i noticed, that i don’t know if it could be useful it’s that the plugin need a lot of time to activate. When i click on activate before loading there’s a delay of 1/2 minutes.

    Thread Starter darkf3d3

    (@darkf3d3)

    Another problem couldn’t be that the 2 plugin use timthumb and every plugin has it’s own files? Maybe it’s isn’t better to have a single timthumb?

    Plugin Author Ajay

    (@ajay)

    The way timthumb is built, it isn’t possible for the plugin to do this directly since it doesn’t know where timthumb is located.

    What you can do is disable timthumb from the plugin settings page and then use your own function to use the other timthumb. See the sample code below that I use in the plugin:

    function crp_scale_thumbs($postimage, $thumb_width, $thumb_height, $thumb_timthumb, $thumb_timthumb_q) {
    	global $crp_url;
    
    	if ($thumb_timthumb) {
    		$new_pi = $crp_url.'/timthumb/timthumb.php?src='.urlencode($postimage).'&w='.$thumb_width.'&h='.$thumb_height.'&zc=1&q='.$thumb_timthumb_q;
    	} else {
    		$new_pi = $postimage;
    	}
    	return $new_pi;
    }
    add_filter('crp_postimage', 'crp_scale_thumbs', 10, 5);

    On the activation issue, ideally, it shouldn’t take so long to activate. But, it’s something you’ll need to query your host.

    Thread Starter darkf3d3

    (@darkf3d3)

    I tried following the guide of the link updating timthumb but the problem persists. I also tried to add the line of code to the htaccess but it break the website.

    Plugin Author Ajay

    (@ajay)

    Is timthumb with your other plugins / scripts pulling the same images properly?

    Thread Starter darkf3d3

    (@darkf3d3)

    I don’t know i have over 4000 images and I don’t know how i can check the same image with the 2 plugin.

    Plugin Author Ajay

    (@ajay)

    Please speak to your host regarding the permissions issue in the cache folder first and if they are blocking timthumb.

    On the other two plugins, you might need to check with the authors how you can figure out which image is resized with timthumb

    Thread Starter darkf3d3

    (@darkf3d3)

    With permission on cache folder you mean the cache folder that there’s in you plugin folder?

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘Timthumb thumbnail doesn't works’ is closed to new replies.