Roots Framework – Timthumb Failed to load URL
I’m using Roots Theme (boilerplate and bootstrap based) for a website and I decided to add timthumb for better image control, but images are not shown and Firebug says “Failed to load given URL”.
I’ve noticed the Roots Theme rewrites the URL’s to clean them and it seems to work correctly on loading .js, .css extension files, but for some reason timthumb.php is not working. Hmmm…
Example of clean Roots Theme URL without the usual wp-content:
<link rel=”stylesheet” href=”/assets/css/bootstrap.css”>
I have edited the timthumb address code and instead of using: get_bloginfo(‘template_directory’) . “/scripts/timthumb.php…..
I simply put “http://localhost/wp-content/themes/roots/scripts/timthumb.php……
and it works.
How can I fix this to work with the get_bloginfo(‘template_directory’)?
- The topic ‘Roots Framework – Timthumb Failed to load URL’ is closed to new replies.