douye1940 2014-12-19 17:18
浏览 35

'压缩'错误与wordpress上的巨大图像一起工作


I'm creating a site that has the possibility of drag a huge image resolution (6000x8000 72dpi saved for web, approx 2MB) on Angular+WP. The image upload but gives me an error and the crunch doesn't work and I need an intermediate size to show on other pages and the thumb to manage the back...any idea what's wrong?

I have tried the following:

1
Changed the values of my php.ini (on local and remote server)

memory_limit = 256M
max_execution_time = 900
upload_max_filesize = 20M
post_max_size = 24M

2
Created .htaccess on wp-admin with

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

3
Changed from ImageMagic to GD system

4
Checked folder permissions to be at 755

Thanks

  • 写回答

1条回答 默认 最新

  • dqyy38265 2014-12-21 19:19
    关注

    Finally I solved it!

    I was thinking that Imagemagik could be the problem and was the opposite, I had the GD library active so when I finally installed Imagemagik on the server and configure + the php.ini new values it let me upload big images and resize them automatically.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?