[nodebb-plugin-imgur] Imgur Plugin
-
Removed the imgur client ID setting from admin/settings. After enabling the plugin the id can be put in the plugins/imgur page. Once enabled all images including user profile images, post images, site logo and category images are uploaded to imgur through the plugin. The only thing that is saved to local is the favicon.ico since imgur doesn't seem to allow icons.
Might have to do some more work there since some plugins like the S3 should still work for the icon.
-
@planner nope, it goes for all uploads. Reason being is that ideally you can have NodeBB running on several servers fronted by a load balancer, and data is sorted in a shared manner. That's why you use an asset server (s3, imgur, rack-cdn, nginx) for file uploads. Ideally we'd have a plugin that was "nodebb-plugin-uploads-local" or something, which was one that wrote to disk where NodeBB is running and serves using connect.static or something.
-
Ideally we'd have a plugin that was "nodebb-plugin-uploads-local" or something, which was one that wrote to disk where NodeBB is running and serves using connect.static or something.
Yeah, that's the idea whenever we create hooks to move core features to plugins. When we move search to its own hooks, a Reds NodeBB plugin will be created.
-
I had the same problem too... make sure you updated the plugin to latest
npm install nodebb-plugin-imgur
-
npm install nodebb-plugin-imgur
@psychobunny Yup, mine is the latest one, but still unluck, did u manage to make it work?
-
@baris, how exactly should the imgur app be configured?
-
@DanaGriffin Imgur will only allow images, if you want to upload other files, you will need to use the local file uploader.