v1.0.1Published 7 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor Imgur Upload Package

meteor add simple:imgur

A meteor package that lets you upload images to Imgur. Is very nice to use with mdg:camera, as in the example app included in this repo.

API Documentation

Both API methods work on client and server.

Imgur.upload(options, callback)


  1. options (required) an object with options, described below.
  2. callback(error, data) (required) a callback that is called with two arguments, 'error', and 'data'.
    1. error a Meteor.Error describing the reason the photo could not be uploaded.
    2. data an object that contains the response from the Imgur API, documented here. The most useful property is, which contains the URL of the newly uploaded image.


Imgur.toThumbnail(imageUrl, size)


  1. imageUrl the URL for an image on Imgur, for example "".
  2. size the key of the desired thumbnail size, chosen from the list at the bottom of You can also use a constant from the list below.
    • Imgur.SMALL_SQUARE
    • Imgur.BIG_SQUARE