标签: timthumb

什么是Timthumb用于创建缩略图的PHP替代品?

由于Timthumb现在不受支持,有什么可以取而代之的吗?我需要自动创建较小的大型照片副本(800*600),我在Google上搜索时看到的唯一建议是Wordpress功能取代Timthumb功能,但我没有使用CMS包.

php caching thumbnails timthumb

6
推荐指数
1
解决办法
5026
查看次数

Timthumb在上传后无法显示图像

我正在使用名为User Avatar的Wordpress插件,它使用Timthumb进行图像显示.当我打开页面显示图像时,它在控制台中给出错误500,当我在新选项卡中使用该图像链接时,我收到以下错误:

A TimThumb error has occured

The following error(s) occured:
Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory.
Could not create cache clean timestamp file.


Query String : src=http://my.domain.com/wp-content/uploads/avatars/1/1358504649-bpfull.jpg&w=150&id=1&random=1358504649
TimThumb version : 2.8.10
Run Code Online (Sandbox Code Playgroud)

我认为这是一个服务器错误或配置错误,一切都被上传到文件夹uploads,然后进入avatars子文件夹,其中有0777权限,文件夹1也有0777.

Insinde,有两个cachetemp文件夹,都有0777权限.GD Image Lib已在服务器上启用.

wordpress wordpress-plugin timthumb

5
推荐指数
1
解决办法
2万
查看次数