Skip to content

duminhtam/skipper-thumbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Thumbor Adapter for Skipper

Require

    var skipperThumbor = require('skipper-thumbor');

Usage

    req.file('image').upload(
      {
        adapter: skipperThumbor,
        imageHost: config.imageHost,
        imageSecret: config.imageSecret
      },
      function (err, uploadedFiles){
      if (err) return res.serverError(err);
      return res.json({
        message: uploadedFiles.length + ' file(s) uploaded successfully!',
        files: uploadedFiles
      });
    });

Releases

No releases published

Packages

No packages published