Imgur 图像 API

It is good to use Imgur API to host images which are posted by the user. It is used by various companies like StackOverflow and NodeBB.

3 个赞

This would require a plugin and has certain drawbacks cause third party free services have a habit of nuking images over time.

3 个赞

please develop plugin for this, that would be awesome, it helps us to reduce server storage!

2 个赞

We have no plans to build this, if you would like it built perhaps do a post on marketplace

10 个赞

You may want to consider amazon s3 for uploads which is already supported by discourse.

5 个赞

but imgur is free for all

2 个赞

那就完美了 :frowning: 不会再有云存储之类的问题了,每个论坛软件都有插件或选项可以将图片上传到 Imgur。

1 个赞

是的,我也想要这个功能。我们需要 Imgur 或其他第三方免费图片托管服务或 CDN,以便在 Discourse 中自动上传图片,从而节省论坛的服务器存储空间。

或者,请推荐一个最便宜且最容易实现的方案来托管我的 Discourse 图片。我不希望因为用户上传大量图片而耗尽我自己的服务器空间。

@sam 我真心认为这将有助于 Discourse 的扩展。我一直在使用 NodeBB,并将所有用户图片托管在 Imgur CDN 上,过去五年运行一直非常稳定。我无需担心自己的服务器存储问题,而且我的论坛流量非常大。

随着我在 Discourse 上的流量不断扩张,我真的需要一个外部图片托管方案,否则将会是一场噩梦:

  1. 购买昂贵的存储空间
  2. 大型数据库迁移带来的问题
  3. 备份问题,由于图片数量庞大,备份耗时过长
  4. 如果论坛流量达到数百万级别,这将尤其令人头疼
2 个赞