331 posts WordPress Theme Devoloper
  • 6 Years of Membership
  • Affiliate Level 1
  • Author Level 9
  • Collector Level 2
+11 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

30 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 7
  • Collector Level 1
+3 more
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.

1680 posts Chris Robinson
  • Elite Author
  • Author Level 10
  • 7 Years of Membership
  • United States
+13 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

331 posts WordPress Theme Devoloper
  • 6 Years of Membership
  • Affiliate Level 1
  • Author Level 9
  • Collector Level 2
+11 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.

971 posts
  • 6 Years of Membership
  • Author Level 5
  • Collector Level 4
  • Exclusive Author
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
  • 6 Years of Membership
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
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 2
+5 more
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
  • 4 Years of Membership
  • Author Level 1
  • Collector Level 2
  • Exclusive Author
+3 more
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
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 4
  • 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