Skip to content

jamesinc/imgur-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImgurUpload

A drag'n'drop image upload plugin for Vanilla Forums utilising the Imgur REST API

This project is GPLv3, with the exception of the icon, which is based on an icon that is CC-Attribution and created by Garrett Knoll from Noun Project

Note on js/dropzone.js

This plugin uses a tweaked version of DropzoneJS. Specifically, it removes the default request headers, as these cause the Imgur API to refuse our requests.

Re-minifying the JavaScript

My preferred method is using uglify-js from the command line

  1. Install uglify-js from NPM:

    npm install uglify-js -g

  2. Navigate to the JS directory and compress the source with the following command:

    uglifyjs --mangle --compress --output imgurupload.min.js --source-map imgurupload.js.map imgurupload.js

About

ImgurUpload plugin for Vanilla Forums

Resources

Stars

Watchers

Forks

Packages

No packages published