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

Need Help Using Image Slider WordPress

  • SOLVED

I have the WordPress Plug-in "vSlider" with the Auto Focus 2.0 theme. When I do the slider, the slider info and buttons appear but the images are not there... I need to know how I can make the images appear both from the post, and also how to make the custom images appear...

Answers (5)

2011-12-07

Romel Apuya answers:

please provide url.


Mike Fleurimond comments:

http://project1804.com/lady-duchess/working/


Romel Apuya comments:

ur having error on the thimthumb.

A TimThumb error has occured
The following error(s) occured:

Could not find your website document root and the file specified doesn't exist in timthumbs directory. We don't support serving files outside timthumb's directory without a document root for security reasons.
Could not find the internal image you specified.



Query String : src=http://project1804.com/wp-content/uploads/2011/11/Jessilyn-Close-Up-494x329.jpg&w=830&h=480&zc=1&q=80
TimThumb version : 2.7


Romel Apuya comments:

I can help you with this.
I might need ftp login details if you can give.
cheers,


Mike Fleurimond comments:

email me... [email protected]


Romel Apuya comments:

ok.


Mike Fleurimond comments:

sorry that is [email protected]


Romel Apuya comments:

ok.working on it now.


Romel Apuya comments:

problem solved.

the main cause was server is returning doc_root value to null

which is needed by the timthumb script.

its a server hosting issue mainly.

2011-12-07

Ryan Riatno answers:

Can you give me your site URL?


Mike Fleurimond comments:

http://project1804.com/lady-duchess/working/

2011-12-07

Bryan Headrick answers:

the problem is with timthumb not being able to find your document root
The problem is that on some virtual servers the $_SERVER['DOCUMENT_ROOT'] variable is set to '/'. In the line 808 the '/' is removed from the $docRoot:

This should be fixed in the current version of timthumb. I believe if you just replace the file, you'll be good to go
http://timthumb.googlecode.com/svn/trunk/timthumb.php


Mike Fleurimond comments:

You might as well have said that in Chinese... I didn't understand any of it...

2011-12-07

Francisco Javier Carazo Gil answers:

As Bryan says, you will only have to find timthumb.php in your theme.

1. Open your FTP client
2. Access to your server
3. Open wp-content -> themes -> your theme
4. Find: timthumb.php (if you are not able to find it, you can download all the theme and find it in your local disk with Windows, Mac OS or Linux)
5. Dowload the new version. Access with your browser to: http://timthumb.googlecode.com/svn/trunk/timthumb.php and then save the file "Save file as..." timthumb.php
6. Upload the file to the correct place in server


Mike Fleurimond comments:

How do I download timthumb?


Francisco Javier Carazo Gil comments:

You can access with your browser to: http://timthumb.googlecode.com/svn/trunk/timthumb.php

When the code is shown, let go to File and Save page as...

You save it as timthumb.php and all done.


Mike Fleurimond comments:

and after I do that Francisco I just upload anywhere in my theme's folder?


Francisco Javier Carazo Gil comments:

No, you have to upload exactly in the same folder.

You can try to find it with yout FTP client or you can download it, find it in local and the you will now where is it placed.


Mike Fleurimond comments:

I never had timthumb... I don't think... I have the Auto Focu 2.0 theme


Francisco Javier Carazo Gil comments:

You have timthumb because you call it in your code. It is used by different themes.

Try to find it, upload the new one and tell us if it has solved the problem.


Mike Fleurimond comments:

Been all through my theme folder no timthumb


Francisco Javier Carazo Gil comments:

Sorry Mike, not in your theme, it is in your plugin: http://project1804.com/wp-content/plugins/vslider/timthumb.php


Mike Fleurimond comments:

I found the timthumb, and I replaced it still not working


Francisco Javier Carazo Gil comments:

Mike,

I have been reading the FAQ note (http://wordpress.org/extend/plugins/vslider/faq/) and maybe can be a problem with permission. It should actually be set to 757 on cache folder.

The cache folder is placed in /plugins/vslider/cache.

You can use FileZilla to change permission of folder.


Francisco Javier Carazo Gil comments:

Mike,

In every post I read it tells the same problem so I think you have solved it.

Please let me know if you have achieved the solution.


Mike Fleurimond comments:

Bad News Francisco... It is still not resolved...


Francisco Javier Carazo Gil comments:

Have you checked that GD library are working fine?

You can also un-check the auto resize option in more vslider settings, if this make the image appear but in bad size, this is sure a problem of timbthumb.php.


Mike Fleurimond comments:

really I am still trying to do the permission thing! and read the guy under this post, thats another thing I'm seeing on the forum


Francisco Javier Carazo Gil comments:

Mike,

Do you know how to change permission to folder and his files?

I can make the change that Manoj says and send you the file by a PM.


Francisco Javier Carazo Gil comments:

I have just send you a PM.


Mike Fleurimond comments:

Sorry... I put that code in and nothing!


Francisco Javier Carazo Gil comments:

Mike,

I really don't know what can be happening. If you want, send me credentials via PM (WordPress and FTP) and I will try to solve it.


Mike Fleurimond comments:

ok... give me a few

2011-12-07

Manoj Raj answers:

I am not sure. It may be the issue being discussed online with timthumb.php

Here is the temporary fix


Search for this line

if(stripos($real, $this->docRoot) === 0){

replace it with

if(stripos(preg_replace(“/\\\/”, “/”, $real), $this->docRoot) === 0) {