I'm trying to upload an image to imgur with js (browser) and get a CORS error:  Access to XMLHttpRequest at 'https://api.imgur.com/3/upload' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Contr...
All the examples I find online are of earlier versions of the Imgur API or non JS code all of which uses an API key which doesn't exist in the newer API. Instead you get a client_id and secret. Anyone have example code that shows how an image can...
I tried to use jQuery Dropzone to upload an image to Imgur or any other domain but that's not working.  This is my dropzone setup:  $("div.dropzone").dropzone   success: -> console.log arguments   paramName: "image"   method: &...
I'm trying to use Javascript to upload a png to imgur. I've used the code directly from the Imgur API example, but I don't think I am passing the png file properly as I get an error message saying file.type is undefined. I think the file...
I need to implement getting elements from selected area in Javascript. This is needed to make a better, desktop-like UI in chrome app. The nearest example is selecting area in Imgur extension:    So the question is:   How this selecting can be done i...
I signed up for the Imgur API and registered a test app and recoived a Client ID and a Client Secret.  I then tried to use this code:  try {     var image = canvas.toDataURL('image/jpeg', 0.9).split(',')[1]; } catch(e) {     var image...
I've made a page where the users of the site can upload a picture with drag 'n drop. For this I use Dropzone.JS (go to infosite or Github) and I will upload the files to Imgur.   The problem is that I didn't know how I can do this with Dr...
I want to use Imgur API in a chrome extension. The authentification response from user's input is sent to a "redirect url" set up in my application profile on the imgur web page.   How can I set that "redirect url" to point to the...
I registered an application over at imgur.com (for anonymous usage) and I got an application key.  I'm using it here:   self.uploadImage = function(file) {          /* Is the file an image? */         if (!file || !file.type.match(/image.*/)) ret...
I keep getting this error when trying to use the imgur search api in nodejs:  {"data":{"error":"Imgur is temporarily over capacity. Please try again later."},"success":false,"status":500}   I dont get this erro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.