Code Monkey home page Code Monkey logo

saveimage's People

Contributors

brulasoft avatar markni avatar quiply avatar sebastianschirmer avatar uaza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saveimage's Issues

Create a Folder with app name

Hi,

To start with, this is awesome plugin. Thanks a lot.

What I want to say is, images are stored in gallery in my android in default pictures folder. Is it possible that I can create a folder with the name of my app in gallery and store images inside it ?

iOs 10 and 11 Images are not saving when iCloud is sync.

Hi I tried to use this Plugin plugin but notice that for iOs 10 and iOs 11 when the iCloud sync is on it creates the folder but not saving images to it. Some ALAssetsLibrary class got depricated. could you please help me. its little urgent. Thanks
screen shot 2017-11-04 at 10 54 02 pm

Path of saved image IOS

Hello,
is it possible to know the internal path of the saved image?
In Android it is passed as parameter in the successCallback but in IOS this param is valued as 'Image Saved' string

Please. can you help me?

Save base64 image direct to gallery

Feature request rather than issue: it would be great to be able to save the base64 stream you get from a camera call back straight to the gallery, rather than needing a path to a saved file. Would this be easy to add? I might have a shot at it myself but have limited time.

Image is not saving

Hi,

I'm trying it like this.

function saveImg() {
    var nativePathToJpegImage = 'images/001.jpg'
    cordova.plugins.imagesaver.saveImageToGallery(nativePathToJpegImage, onSaveImageSuccess, onSaveImageError);
}
function onSaveImageSuccess() {
    console.log('success');
}                                         
function onSaveImageError(error) {
    console.log('error: ' + error);
}
$$('.save-img').on('click', function (e) {
     saveImg();
});

But image is not being saved anywhere. Would appreciate any help.

Android 6.0 Need permission?

This is working on my Andoid5.0 device but not on 6.0. function callback to error(). I think its permission issue on android 6. how to fix?

LocalFileSystem.TEMPORARY ?

If you download a file, you can choose (ao) to save it in LocalFileSystem.TEMPORARY or LocalFileSystem.PERSISTENT

When using cordova.plugins.imagesaver.saveImageToGallery, does the file need to be persistent before saving it, or can it be temporary ? Iow, is the file copied somewhere or is it just linked from its original place into a gallery/camera roll storage ?

So far, TEMPORARY seems to work. But I don't know if my device/app has cleared its caches sofar.

Phonegap Build

Can you provide an example how to use it on Phonegap Build? I mean what is the file I must include in config.xml and also can I do it like:

var nativePathToJpegImage = 'ww/1.png'

Then use onclick function like:
<img alt="Wallpaper" src="www/1.png" onclick="window.cordova.plugins.ImageSaver.saveImageToGallery();"/>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.