Comments (3)
CDN can't return 404 based on file type. File from this link normally uploads and downloads from CDN. If you can't download file after upload, the problem can be in other place, but not in file type.
from uploadcare-widget.
Just tried to upload this link on the main page http://uploadcare.com/ (right under 'see how it works'). The file is uploaded, but no cropping interface is shown, nor a preview picture.
https://upload.uploadcare.com/info/ about this file returned:
{
"file_id": "65382c91-1df3-4ba4-a1d4-ad4b23d48d17",
"is_stored": false,
"done": 68666,
"uuid": "65382c91-1df3-4ba4-a1d4-ad4b23d48d17",
"original_filename": "unnamed.webp",
"is_ready": true,
"image_info": null,
"is_image": false,
"total": 68666,
"size": 68666
}
As you see, is_image
is false, so I can presume that uploadcare doesn't recognize it as a picture.
You're right, the image can be downloaded as http://www.ucarecdn.com/65382c91-1df3-4ba4-a1d4-ad4b23d48d17/
It seems the problem is here because I'm using the following code:
uploadcare.openDialog(null, {
imagesOnly: true,
previewStep: false
}).uploadDone(function(info) {...}
and the uploadDone
function is not called.
from uploadcare-widget.
Now it should work.
from uploadcare-widget.
Related Issues (20)
- 3.10.3 package - dependency not found HOT 2
- Mobile Safari Dropbox connection issues HOT 1
- Brave browser supported?
- No button on screen HOT 5
- Remove widget panel HOT 2
- Upload Care in Mobile App
- UI issues with your widget HOT 2
- Image can be cropped as dot with minimal size option
- Dependency Dashboard
- Uploadcare video transcode webhook status HOT 1
- No DOM elements found matching selector in Svelte HOT 2
- Image Widget in Netlify CMS Error
- Upload pdfs or other types than image
- Uploadcare Files as a source HOT 2
- Cropping doesn't work with certain aspect ratios (like those with dots) HOT 2
- Class name uploadcare--file-sources__item has only one underscore in the mobile all sources button HOT 2
- Widget upload bug: jQuery.Deferred exception: e is not a function HOT 1
- "a.default.extend is not a function" when migrating from 3.19 -> 3.20 HOT 1
- .tif file not recognized as an image
- How to disable photo button in Video widget in uploadcare HOT 4
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 uploadcare-widget.