Save image from URL. A very simple plugin for Cordova 3.x.x
Ronald Klip (
platforms: ios
$ cordova plugin add com.contentecontent.cordova.plugins.saveImage

Cordova Save Image From URL -Plugin

A very simple plugin for Cordova 3.x.x to save an image from a URL.

by Ronald Klip (

Supported Platforms

  • iOS

Adding the Plugin to your project

Through the Command-line Interface:

cordova plugin add

Release Notes

Version 1.0.0 (22-08-2013)

  • Initial release.

Using the plugin

The plugin creates the object window.plugins.saveImage with one method:


Takes two parameters: url and a string with the name of the callback method

window.plugins.saveImage.saveImageFromURL(url, cbRef);

The plugin returns 1 on success and 0 on failure. Failure is most likely due to the app not having access to the user's Photos.


var myCallbackMethod = function(returnVal) {console.log(returnVal);}
window.plugins.saveImage.saveImageFromURL('', 'myCallbackMethod');