Giter Site home page Giter Site logo

ctreffs / imgur-upload Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pinceladasdaweb/imgur

0.0 2.0 0.0 152 KB

Upload images to imgur via JavaScript

Home Page: http://www.pinceladasdaweb.com.br/blog/uploads/imgur/

License: MIT License

JavaScript 69.30% HTML 30.70%

imgur-upload's Introduction

Upload images to Imgur via JavaScript.

##How to use as a RequireJS module

Ĺoad RequireJs on your html file.

<script type="text/javascript" src="path/to/require.js" data-main="path/to/your/main"></script>

Where main.js is like:

requirejs.config({
	paths: {
		app: 'app'
	}
});

requirejs(['app'], function( Imgur ){

	Imgur.init();

});

##How to use without RequireJs

Load the app.js file on your html

<script src="assets/js/app.js"></script>

Then call the function

<script>
	Imgur();
</script>

##Important Note

On line 89 of the file app.js add the Client-ID of your app. You can pick it hem: http://api.imgur.com/.

##Browser Support

  • IE10+
  • Opera
  • Google Chrome
  • Safari
  • Firefox

imgur-upload's People

Contributors

jorunfa avatar pinceladasdaweb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.