Git Product home page Git Product logo

Comments (4)

tamaracloudinary avatar tamaracloudinary commented on July 17, 2024

How are you uploading the files? Do you use our upload widget? You can enable crop mode in the widget so you will get a preview of the document before uploading, you can see an example here (click the Crop and upload button).

from js-url-gen.

Keith-Web3 avatar Keith-Web3 commented on July 17, 2024

No, I'm uploading the files manually using the NodeJS SDK. And I need the preview image in other places other than when I'm uploading. It would be cool if there could be a link like https://cloudinary-file-path/preview that contains the preview image of that file.

from js-url-gen.

tamaracloudinary avatar tamaracloudinary commented on July 17, 2024

I see, currently this is not something we support, as a workaround, you can upload the file using the NodeJS SDK as you're currently doing, and create a transformation URL to generate a preview of the uploaded file. This transformation URL will contain the necessary parameters to create a smaller or differently formatted version of the original image. For example:

https://res.cloudinary.com/your-cloud-name/image/upload/c_scale,w_200/sample.jpg

Then delete the image.

Please also feel free to suggest this on our public roadmap!

from js-url-gen.

Keith-Web3 avatar Keith-Web3 commented on July 17, 2024

A transformation URL? I'll check out the docs to know more about it and get back to you in case I need further assistance.
Thanks 🙂

from js-url-gen.

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.