We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
DavidM27
5 years agoExplorer | Level 4
Get thumbnail with TypeScript
Hello,
I'm trying to get the thumbnail of an image with the js sdk implemented in a TypeScript application.
I'm using th method fileGetThumbnail() it return a Promise<DropboxTypes.files.FileMeta...
- 5 years ago
Using the "fileBlob" property is the right way to get the thumbnail data. Currently, you'll need to access it like this though: https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/typescript/download/download.ts#L10
Apologies this isn't better documented or included in the TypeScript definitions! I'll ask the team to fix that up.
Greg-DB
5 years agoDropbox Staff
Using the "fileBlob" property is the right way to get the thumbnail data. Currently, you'll need to access it like this though: https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/typescript/download/download.ts#L10
Apologies this isn't better documented or included in the TypeScript definitions! I'll ask the team to fix that up.
- DavidM275 years agoExplorer | Level 4
Thank you for your reply.
Is there any way for me to get to know when this is fixed ?- Greg-DB5 years agoDropbox Staff
Yes, I'll follow up here once I have an update on that. I can't offer a timeline for a fix though, so please use the workaround for now.
- bffy_smmmers4 years agoHelpful | Level 5
hi - is the above issue stil lthe case? the github link detailing the workaround doesnt work and i cannot get this to work at all on typescript. thank you! Greg-DB
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!