Coder Social home page Coder Social logo

Upload without using helper about cloudinary HOT 3 OPEN

lepozepo avatar lepozepo commented on May 17, 2024
Upload without using helper

from cloudinary.

Comments (3)

Lepozepo avatar Lepozepo commented on May 17, 2024

Hi! You would have to do something kind of like this:

                Meteor.call("cloudinary_upload",reader.result,options,function(err,res){
                    if(err){
                        _cloudinary.remove(options.db_id);
                        console.log(err);
                    } else {
                        callback && callback(res);
                    }
                });

That is what we're calling when we're using the normal "cloudinary_upload" method. I also have a "cloudinary_upload_stream" method that should work but I'm not certain. Have a look at this file.

from cloudinary.

sangyoo91 avatar sangyoo91 commented on May 17, 2024

@Lepozepo Thank you! Is it possible to add form data to cloudinary_upload call?

from cloudinary.

Lepozepo avatar Lepozepo commented on May 17, 2024

Hey! I completely revamped the code. It is much more efficient now! Although it still needs a bit more work for auth. It should be less confusing to build on it now that there is no helper.

from cloudinary.

Related Issues (20)

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.