doujubeng2942 2014-10-21 23:12
浏览 18

你可以为Wordpress主题集成一个内置的图像压缩器吗?

I currently am customizing a Wordpress theme called Classifier (http://colorlabsproject.com/themes/classifier/), built by Colorlabs & Company. I'm running into a pretty big issue and that is the size of users uploaded images.

Our website receives 200,000+ page views a month, with 90,000-110,000 of those views being from unique IP's. The theme allows you set a maximum image size, but to ask 25,000-100,000 users to compress their photos is not practical, at all, and frankly the majority of users won't know how to do it or just won't do it.

When looking at a website like Craigslist, they allow their millions of users to upload 18 photos per listing, with zero regulation on image size. The website still operates smoothly, with no lag time, which leads me to believe they have an image compressor built into their website.

I'd like to allow my users to upload photos and have them be automatically compressed to a certain size once they submit their listing. I'm wondering if this is possible and if yes, where do I begin?

  • 写回答

1条回答 默认 最新

  • dpoxk64080 2015-03-24 12:26
    关注

    You can integrate this plugin : Compress JPEG & PNG images. They also have an API .

    评论

报告相同问题?

悬赏问题

  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line