Comments (4)
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.
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.
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.
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)
- How to set a format whitelist manually ? HOT 3
- Best way to prefetch images HOT 3
- Text wrapping in text overlay HOT 7
- Unable to resolve Typescript definitions for UMD package HOT 1
- Setting URLConfig.signUrl doesn't actually sign the URL HOT 9
- Support appending a token to the generated url? HOT 11
- Accessing URL of a raw file HOT 4
- Video transformation options as an Object instead of method chain HOT 4
- Latest build causing pipeline to fail HOT 8
- `SyntaxError` when used with `jest` HOT 6
- Where can I find the correct import statements? HOT 1
- Replacing images currently stored in cloudinary HOT 1
- How do you deconstruct a Cloudinary URL? HOT 1
- createUploadWidget HOT 10
- createCloudinaryURL breaks SSR HOT 3
- Is it recommended to use this on the server? HOT 1
- toURL() function encodes already encoded URLs HOT 10
- Double encoding of comma in createCloudinaryURL() HOT 4
- `cloudName` required unnecessarily
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-url-gen.