日志标签:timthumb

TimThumb生成站外缩略图出错

分类:折腾日期:2013-08-23 - 14:01:35评论:10条作者:老谢

A TimThumb error has occured

The following error(s) occured:
You may not fetch images from that site. To enable this site in timthumb, you can either add it to $ALLOWED_SITES and set ALLOW_EXTERNAL=true. Or you can set ALLOW_ALL_EXTERNAL_SITES=true, depending on your security needs.

Query String : w=90&h=90&src=http://www.williamlong.info/upload/3275_1.jpg
TimThumb version : 2.8.6

用timthumb生成站外缩略图出现以上提示,按照提示的办法解决即可:

编辑timthumb.php,找到ALLOW_ALL_EXTERNAL_SITES,把值改为ture即可

TimThumb生成站外缩略图出错

Tags: