定制 matteocontrini/flarum-imgur-upload 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

matteocontrini/flarum-imgur-upload

最新稳定版本:v3.9.1

Composer 安装命令:

composer require matteocontrini/flarum-imgur-upload

包简介

Simple image upload from the Flarum editor

README 文档

README

flarum-imgur-upload is a Flarum extension that allows posting images in Flarum posts using Imgur for image hosting.

Features

With flarum-imgur-upload you can upload images to Imgur while writing your post, and the extension will automatically embed the images in your post. You can also paste from clipboard to upload an image file.

Demo GIF

Installation

composer require matteocontrini/flarum-imgur-upload

If you previously used matpompili/flarum-imgur-upload (the original work on this extension by Matteo Pompili) or botfactoryit/flarum-imgur-upload, you should disable and remove those extensions when you upgrade to beta 8.

Configuration

Since flarum-imgur-upload uses Imgur API to upload your images, you will need an Imgur Client ID.

To get one simply signup to Imgur, then register an application here. You need to choose a name for your application (e.g. My Forum), and select Anonymous usage without user authorization. If the form requires you to set an Authorization callback URL, that's a bug. Select OAuth 2 authorization without a callback URL to avoid that, or play with the radio buttons a bit.

Once your application has been registered, your Client ID will be available here. Copy and paste it in the configuration panel of the extension, through your forum's admin page.

Credits

The original work for this extension was done by @matpompili.

统计信息

  • 总下载量: 15.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 4
  • Forks: 12
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2019-01-17