[nodebb-plugin-imgur] Imgur Plugin



  • do images ever expire on imgur?



  • I think they used to delete if the image was not accessed at least once every six months. But they changed it so they never delete an image unless requested.



  • @baris said:

    I think they used to delete if the image was not accessed at least once every six months. But they changed it so they never delete an image unless requested.

    Can confirm. Imgur indeed doesn't delete unless requested. The screenshots I made and uploaded by ShareX from 3 months ago are still able to be seen.



  • Hello all!

    First of all, english isnt my native language,

    I am trying to use this plugin nodebb-plugin-embed-imgur, i have passed 2 days trying and is impossible 😕

    He is giving this error :

    3/9 18:45 [6470] - error: /admin/plugins/imgur/oauth
    TypeError: Cannot call method 'hasOwnProperty' of undefined
    at appendFormValue (/home/XX/nodebb/node_modules/request/request.js:340:17)
    at Request.init (/home/XX/nodebb/node_modules/request/request.js:354:11)
    at new Request (/home/XX/nodebb/node_modules/request/request.js:140:8)
    at request (/home/XX/nodebb/node_modules/request/index.js:55:10)
    at Function.post (/home/XX/nodebb/node_modules/request/index.js:63:12)
    at authorize (/home/XX/nodebb/node_modules/nodebb-plugin-imgur/index.js:68:11)
    at Layer.handle [as handle_request] (/home/chollodiario/nodebb/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/XX/nodebb/node_modules/express/lib/router/route.js:131:13)
    at Route.dispatch (/home/XX/nodebb/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/XXX/nodebb/node_modules/express/lib/router/layer.js:95:5)

    Thanks!



  • @donorom What version of the plugin?



  • This is a crazy contingency question; I doubt it'd ever happen but what if Imgur closed down and we were told to download our images from their server, could we dump them all into a folder on our own server and somehow get them to display?



  • @henrywright that is why I host images on my server. The other reason is that I can put the images through some software to make them smaller in kilobytes.



  • @prog I use Digital Ocean and storage seems to be 20GB on the plan I have. For 40GB I'd need to quadruple what I currently pay per month. I'd love to host images direct on my server but I can't afford it 😞



  • @prog also I think Imgur has a setting which allows images to be reduced in file size on upload which speeds up loading times



  • @henrywright How many images do you host? 20 GB would be enough for some years for a small forum.



  • @prog currently 3 images in total. 1 of which is my site logo. I take your point hehe


  • Anime Lovers

    I'm surprised DO doesn't have a feature to pay for more disk space separate from upgrading to the next tier. It's a little crazy actually.



  • I'm pretty sure if you pay for the next tier. Your storage doesn't change. Thought it was just ram. Guess I've never really looked. A CDN is definitely a better option than self hosting. Keeps the requests to your VPS down.

    Would be great if images went through compressor.io before being uploaded to imgur. Wouldn't be so good with high quality images. Guesa you could just do it with the jpgs. Since they're already compressed.



  • @a_5mith said:

    A CDN is definitely a better option than self hosting. Keeps the requests to your VPS down.

    Not in every case. I have an overpowered server with a SSD and my visitors are from smaller country, which keeps the user-server distance small. I also have more control over the images, but imgur is really good and I would take if I hadn't such a server.

    Would be great if images went through compressor.io before being uploaded to imgur.

    That is a very good idea, I like tinypng.com though



  • Using it, works great, the only problem is, i can't upload GIF files. Is this only me, or are more people having this problem?



  • Hi guys i follow the instruction to installed the plug in but when i tried to up load I get, How did you guys overcome this? or did I miss any steps?
    0_1452214561524_New Bitmap Image.bmp


  • Plugin & Theme Dev

    @linan2332 Did you follow the steps in the plugins setup page in ACP?



  • Yes, i follow the steps in https://github.com/barisusakli/nodebb-plugin-imgur
    register a new user, authorize the application with secret and client id. Everything proceed with no error

    It seems like there are some people also not able to fix it. However I saw in this post it is being solved.


  • Plugin & Theme Dev

    @linan2332 after you entered the client id and secret in the plugin ACP page and clicked enter..... it takes you to imgur website to authorize... after you authorize it... did it return back to the same ACP plugin page?



  • @pichalite Yes it did, and then I tried to upload an image and show the above error. I also tried to restart nodebb but is still the same


Log in to reply
 

Suggested Topics

| |