Getting url while using timthumb

Discussion in 'PHP' started by balaji153, Jul 7, 2010.

  1. #1
    Hi, All

    i am using timthumb to resize image ,but i am getting url in the browser .

    can any one help me to fix this?


    /scripts/timthumb.php?src=/images/whatever.jpg&w=150&h=200&zc=1

    Thanks in advance....
     
    balaji153, Jul 7, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    It's probably pointing at wrong URL, check it first if "/images/whatever.jpg" points to the image
     
    Rainulf, Jul 7, 2010 IP
  3. balaji153

    balaji153 Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i am having the same stuff in local machine , but there i am getting image .....
     
    balaji153, Jul 7, 2010 IP
  4. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #4
    I can guess a number of reasons as to why is that happening. But for now, do this, reloading everything you have in the local machine to your website, clean your browser cache and make sure you set all permission to 777 temporarily and see what happens. :)
     
    Rainulf, Jul 7, 2010 IP
  5. balaji153

    balaji153 Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I did .....

    i gave file permission for the image and also the cache folder but still it's not working help me please!!!!!!!!!!!!!
     
    balaji153, Jul 7, 2010 IP