0.0.7 • Published 8 years ago

cordova-plugin-flytit-thumbcreator v0.0.7

Weekly downloads
2
License
Apache 2.0
Repository
github
Last release
8 years ago

cordova-plugin-flytit-thumbcreator

Thumbnail creator plugin for cordova

This plugin defines a global ThumbCreator object.

Installation

cordova plugin add cordova-plugin-flytit-thumbcreator

API Reference

ThumbCreator

ThumbCreator.createThumb(fromUri, folderToSaveThumb, successCallback, errorCallback)

The createThumb function creates a thumb from the uri in fromUri (ex: '/DCIM/Camera/2015011102020.jpg'), and saves the thumb to the folder specified in folderToSaveThumb (ex: '/YourFolder/thumbs').

The return value is sent to the successCallback:

  • An object containing:
  • absolutePath
  • shortPath (without external storage directory, ex: ('/YourFolder/thumbs/_thumb_2015011102020.jpg')

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

9 years ago

0.0.1

9 years ago