We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Federico P.3
11 years agoNew member | Level 1
preview my files in iframe using http core api
Hi,
i am developing an application that let user browse his file inside my web application.
I'd like to let user preview his file inside an iframe of such webapp as such as it is done in dropbox ...
Federico P.3
11 years agoNew member | Level 1
Hi Gregory,
thank you for your reply. I have tryed (with thumbnail endpoint) to put raw data as src of my iframe with no luck (got an ampty iframe). I can see, in the first part of binary data, a JFIF string so i think this data is realyy a JPEG.
I wrote something like
<iframe src="data:image/*;base64,{{Raw Binary Data}}"/></iframe>
with no luck.
Also i would like to understand if binary data returned from preview endpoint would be correctly rendered inside a normal browser (i am thinking at word documents).
Thanks
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!