[SOLVED] TimThumb

edited October 2012 in Shopping Cart plugin
Hello, I've installed v1.6.9 of the checkout on a new site. I started to import products, but the images are not showing! I see that the images were imported correctly but there seems to be an issue with TimThumb. Is there some sort of configuration that has to be done with TimThumb?

/Phil

Comments

  • 2 Comments sorted by
  • Vote Up0Vote Down
    Ah it's ok. The problem was with the path that TimThumb uses for the images. The path on my hosting is slightly different, I had to update the timthumb.php file with the paths: LOCAL_FILE_BASE_DIRECTORY and the DOCUMENT_ROOT 

    define ('LOCAL_FILE_BASE_DIRECTORY', '/usr/local/pem/vhosts/$SITEID/webspace/siteapps/$APPID/htdocs');
    $_SERVER['DOCUMENT_ROOT'] = '/usr/local/pem/vhosts/$SITEID/webspace/siteapps/$APPID/htdocs';

    $SITEID and $APPID are specific to my hosting account. It was all explained in my hosts help section

    Cheers
    Phil
  • Vote Up0Vote Down
    Hi Phil,

    Great to hear you managed to sort the issue and thanks for posting here how you did it :)

    Best regards,

    Phil
Sign In or Register to comment.