Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Images not showing on website - using Timthumb WordPress

  • SOLVED

I am utilising a template to create a site and images on new posts are not showing up. The images are uploaded to the server fine however the website pages do not show them. The template I am using utilises Timthumb (found here: http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/ )

The theme I am using can be found here (http://themeforest.net/item/rttheme-6-bussiness-theme-5-in-1-for-wordpress/83648)

Need help ASAP as project is due tomorrow COB.

Answers (5)

2011-01-12

Nilesh shiragave answers:

show me link of your website where you are having problems.


Farooq Khan comments:

This is the page: http://www.agi-precision.com.au/site/?p=32


Nilesh shiragave comments:

where you uploaded timthumb.php file?

inside "rttheme6" theme folder? or inside another child folder?


Farooq Khan comments:

inside rttheme6 folder


Nilesh shiragave comments:

I think it is a hosting issue because whenever you directly call images it gives 500 internal server error

http://www.agi-precision.com.au/site/wp-content/themes/rttheme6/timthumb.php?src=http://www.agi-precision.com.au/site/wp-content/uploads/2011/01/roll_cage2.png&w=90&h=90&zc=1


Maybe check GD library is enabled or not.



Check this forum thread in Themeforest similar issue.

http://themeforest.net/forums/thread/tim-thumb-problem/32860


Farooq Khan comments:

On the right path, I've contacted the hosting company and they are looking into the GD library for me to install it. I will give you an update when i hear back from them.


Farooq Khan comments:

GD library was already installed. What else can we try?


Nilesh shiragave comments:

Delete .htaccess file, change back all permissions to 755...


Farooq Khan comments:

all permissions are now back to 755 also i have deleted the .htaccess file


Farooq Khan comments:

YOU LEGEND!!!!!!! :) IT WORKS :)


Nilesh shiragave comments:

Great :)

2011-01-12

William Rivera answers:

I could take a look into this!


Farooq Khan comments:

This is the page http://www.agi-precision.com.au/site/?p=32

2011-01-12

dr_killpatient answers:

Hi there.

- Make sure forlder /cache/ in timthumb folder is able to write (chmod 777 cache)
- php must have GD library support

Hope this help

Regards Roman


Farooq Khan comments:

Im sure DG librabry is enabled and the permissions are all 777.

Here is the page with the problem: http://www.agi-precision.com.au/site/?p=32


dr_killpatient comments:

Try chmod 755 then. And delete a .htaccess is it's able


dr_killpatient comments:

And here is some thumb tips http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/


Farooq Khan comments:

I changed the permission and deleted the .htaccess file but it still didn't work. I will look at the link you sent.


Farooq Khan comments:

Sorry, i think GD library is not installed, i have asked the hosting provider to install it. Will get back to you with update when i hear back from them.


Farooq Khan comments:

GD library was already installed. What else can we try?

2011-01-12

Rashid Aliyev answers:

By wich metod you upload files. Directly from control panel or from taemplates special (add) page?


Farooq Khan comments:

Wordpress control panel. This is the page where images missing: http://www.agi-precision.com.au/site/?p=32


Rashid Aliyev comments:

Just try to add images from Themes İnsert (add) menu.
ANd update therme. Tere is neü version of theme on forest.


Farooq Khan comments:

Where is the link for the new version?


Rashid Aliyev comments:

Try to change permisson of folder as well. Made it 777 to.

2011-01-12

Rashad Aliyev answers:

Dear Farooq Khan,

There can be many cause. Because of your hosts give : Internal Server Error result for [[LINK href="http://www.agi-precision.com.au/site/wp-content/themes/rttheme6/timthumb.php?src=http://www.agi-precision.com.au/site/wp-content/uploads/2011/01/roll_cage.png&w=310&h=254&zc=1"]]included image[[/LINK]]


<strong>You should edit your file:</strong>


edit timthumb.php find:

readfile($cache_file);


change with



echo file_get_contents( $cache_file );


try it again.


Farooq Khan comments:

Hi Rashad, Thanks but it didn't work, I've also submitted a request with my hosting company to install GD library in case its not installed.


Rashad Aliyev comments:

But you said before that's installed. I though if it's installed and if you have cache folder and if it was 777 permission in directory of your timbthumb then only 1 way you should change getting image method for script ;)


Farooq Khan comments:

I know, i thought it was installed as well but when i asked the hosting techs to check their level 1 techs didn't know how to check. So the guy told me he is submitting a request to their level 2 techs to install it. Is there anyway i can check myself?


Rashad Aliyev comments:

make a php file and put it your host and run it. you'll see all of your settings there.



<?php
phpinfo();
?>



best regards.


Farooq Khan comments:

OK, they have come back saying it was already enabled. So what now :)


Farooq Khan comments:

I know its not good practice but i've made almost all folders with 777 permission and timthumb.php has 777 permission as well.


Rashad Aliyev comments:

Send me your credentials for looking there.


Rashad Aliyev comments:

Happy news for you:)) That's worked:)

[[LINK href="http://www.agi-precision.com.au/site/wp-content/themes/rttheme6/timthumb.php?src=http://www.agi-precision.com.au/site/wp-content/uploads/2011/01/roll_cage2.png&w=90&h=90&zc=1"]]link[[/LINK]]