242 posts WordPress Theme Devoloper
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Most Wanted Bounty Winner
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+1 more
kayapati says

hi friends

I have issue with timthumb auto image re size script which works well in some servers and doesn’t in some servers even the CHMOD 777 / 755 and GG support enabled.

I have used this script for image slider. The main problem is image is not displaying.

I have googled about the issue but no clue.

I have use this script in my several wp themes, some client report the error and some doesn’t.

any got the same issue?

It didn’t workout even I have gone through this thread

http://c.hadcoleman.com/2008/06/adding-timthumb-to-your-wordpress-theme/

It would be helpful us if any one help on this issue.

thanks ram

27 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Sold between 50 000 and 100 000 dollars
BioXD says

Make sure the images are in the same server as the script, the image resizing functions don´t like external images.

Also, make sure not only the folder and the images are CHMODed to 777 but the target folder as well if you are saving them.

1579 posts Chris Robinson
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 5-6 years
  • Author had a File in an Envato Bundle
  • Referred between 500 and 999 users
  • Author had a Free File of the Month
+5 more
contempoinc says

There’s also issues with mod_security on some servers especially HostGator, take a look “here”http://code.google.com/p/timthumb/issues/detail?id=8

242 posts WordPress Theme Devoloper
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Most Wanted Bounty Winner
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+1 more
kayapati says
Make sure the images are in the same server as the script, the image resizing functions don´t like external images. Also, make sure not only the folder and the images are CHMODed to 777 but the target folder as well if you are saving them.

BioXD first of all thanks for your suggestion, we did all what you pointed out.

still getting the issue.

962 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Ireland
  • Sold between 10 000 and 50 000 dollars
EireStudio says

A good start is pop into the url of the timthumb script:

http://www.example.com/wp-content/themes/THEME/elements/lib/timthumb.php

and see what the error says?

4 posts
  • Has been a member for 5-6 years
strangelife says

Hey, i had some problems with timthumb before, realized i didnt have an empty folder for the cache directory.

Open up the php file and look for…

// set path to cache directory (default is ./cache) // this can be changed to a different location $cache_dir = './cache';

I simply created an empty folder named “cache” in my theme folder and it worked.

If thats any help to you.

Cheers Matt

364 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Sold between 10 000 and 50 000 dollars
  • United States
chrisfay says

I too run into to many users having issues with TimThumb on my WP themes – its usually a range of issues outside the normal cache folder permissions etc… etc…

The best way to diagnose is to grab the markup from the src of the page that is generating the image and paste it into your browser. It will return, in most cases (unless the host has custom errors), what the problem is and should help you guide your customer.

For example, this is an image generated by timthumb in one of my themes:

http://themes.chrisfay.net/prominenceWordpress/wp-content/themes/prominence/scripts/timthumb.php?src=wp-content/uploads/2009/08/accentImage1.jpg&w=550&h=420&zc=1

1 post
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Malaysia
  • Sold between 1 and 100 dollars
ItsCoding says

Hi..

strangelife:: I know u have posted your answer like two years back..

but, i just wanted to confirm that your solution actually pointed me in the right direction today…

I checked my theme directory (bought from themeforest), and I found that it has a folder named “cache”..

I then checked the permission, “write” permission was not set. So, I “chmod” it to 777 and it works now..

This is the only thing I changed..

Thanks so much ..

Maybe this would be useful for someone one day..

2 posts
  • Bought between 50 and 99 items
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 3-4 years
  • United States
EllisBenus says

What about getting timthumb to work with WordPress Caching plugins like WP Super Cache or W3?

by
by
by
by
by
by