Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteocontrini/flarum-imgur-upload
Flarum extension that allows to post images with Imgur
https://github.com/matteocontrini/flarum-imgur-upload
Last synced: 7 days ago
JSON representation
Flarum extension that allows to post images with Imgur
- Host: GitHub
- URL: https://github.com/matteocontrini/flarum-imgur-upload
- Owner: matteocontrini
- License: gpl-3.0
- Fork: true (matpompili/flarum-imgur-upload)
- Created: 2017-09-10T12:11:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-12T12:48:13.000Z (almost 2 years ago)
- Last Synced: 2024-09-19T18:15:27.935Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://discuss.flarum.org/d/18491-imgr-upload-simple-image-upload-from-the-editor
- Size: 311 KB
- Stars: 12
- Watchers: 6
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-flarum - Imgur Upload - Simple image upload from the Flarum editor. (Extensions / Discussion ([:top:](#table-of-contents)))
README
# flarum-imgur-upload [![Packagist](https://img.shields.io/packagist/v/matteocontrini/flarum-imgur-upload.svg)](https://packagist.org/packages/matteocontrini/flarum-imgur-upload)
**flarum-imgur-upload** is a [Flarum](https://github.com/flarum/flarum/) extension that allows posting images in Flarum posts using [Imgur](https://imgur.com/) 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](https://i.imgur.com/46VYGzz.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](https://imgur.com/), then register an application [here](https://api.imgur.com/oauth2/addclient).
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](https://imgur.com/account/settings/apps). 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.