dongta5621 2014-10-01 03:46
浏览 33
已采纳

未创建Wordpress图像缩略图

I think this is more than a plugin or install issue, I think it may be a server issue.

Basically when I upload any image, say filename.jpg, the typical filename-150x150.jpg thumbnail version of the image is not being created in my uploads folder beside the original. But there are no upload errors, all goes through fine. But when I need the thumbnail somewhere in the code, it's not finding one (and I don't see it in the uploads folder, although I see the original file there).

I'm on Amazon EC2 (AMI) running your typical Wordpress setup (PHP 5.3.29, MySQL, Apache).

Any ideas on why these thumbnails might not be getting created, or where I could search for any errors happening?

  • 写回答

1条回答 默认 最新

  • dongyao4419 2014-10-01 04:02
    关注

    It appears PHP GD wasn't installed.

    Ran these two commands:

    sudo yum install php-gd
    sudo service httpd restart
    

    And then used the Regenerate Thumbnails plugin to regenerate my thumbnails and everything worked.

    Thanks to @Quantastical for the help.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题