Cropping image with PHP, need advice

Discussion in 'PHP' started by ads2help, Nov 27, 2009.

  1. #1
    I am using TimThumb to crop image in my wordpress theme, but by default you can only use images hosted in your website in TimThumb, because it uses relative path. (perhaps the author want to avoid other users from using your server resources, bandwidth)

    I manage to edit the timthumb.php to make it able to crop images hosted on other websites, but now any people can use the timthumb.php on my website to generate thumbnail at their website.

    Should I be worry about this? or is there any perfect solution for this?

    Thanks.
     
    ads2help, Nov 27, 2009 IP
  2. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    make admin login for this page...
     
    xenon2010, Nov 28, 2009 IP
  3. AsHinE

    AsHinE Well-Known Member

    Messages:
    240
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    138
    #3
    Try to check referer of image, but this is not 100% guarantee.
     
    AsHinE, Nov 28, 2009 IP