【问题标题】:timthumb redirecting to 404 in image srctimthumb 重定向到图像 src 中的 404
【发布时间】:2016-06-29 05:50:52
【问题描述】:

我在我的站点中使用 timthumb,它在实时站点中运行良好....

它意外停止在我的本地主机上工作.. 到 img 的 src 如下所示....

当我在新标签中打开时它正在打开...但不在当前页面中显示...

<img src="http://demo_site/thumb/?src=http://demo_site/uploads/albumcoverphoto/0f5679c495cb3ee55eedf7426b2dc554.jpg&amp;h=131&amp;w=132">

当我尝试将此 src 更改为低于 1.. 它也给出 404

<img src="http://demo_site/thumb/">

新标签页中的相同网址可以正常打开。

任何帮助表示赞赏..

【问题讨论】:

    标签: php html timthumb


    【解决方案1】:

    你没有加载timthumb.php文件,使用代码,

    <img src="http://demo_site/thumb/timthumb.php?src=http://demo_site/uploads/albumcoverphoto/0f5679c495cb3ee55eedf7426b2dc554.jpg&amp;h=131&amp;w=132">
    

    【讨论】:

      猜你喜欢
      • 2013-01-20
      • 1970-01-01
      • 1970-01-01
      • 2012-09-07
      • 2016-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-10
      相关资源
      最近更新 更多