Roots Framework - Timthumb Failed to load URL (2 posts)

  1. Stempi
    Posted 2 years ago #

    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')?

  2. Stempi
    Posted 2 years ago #

    Timthumb doesn't seem to work with with a relative path to the script

Topic Closed

This topic has been closed to new replies.

About this Topic