Our Community is in read-only mode until April 8th, learn more here. You can still search existing threads or get help via Dropbox Support, the Dropbox Help Center, or Learn.
Forum Discussion
dnaz
2 years agoExplorer | Level 3
How can I get images width and height values in pixel with API V2
I have created an api with PHP language, I can connect list folders and files etc.. But I cant get the images width and height with api, How can I do this with the latest api documentation ?
ht...
dnaz
2 years agoExplorer | Level 3
yes 🙂
My url : $url = 'https://api.dropboxapi.com/2/files/get_metadata';
My curl post data = $data = '{"include_media_info": true,"path": "/VHQ DTF/K-S-MR-ARCHIVE/03-29/S37.png"}';
but I'm getting same results that without dimensions 🙂
Здравко
2 years agoLegendary | Level 20
Wow.. Yes, you are correct. As seems it works stable only for jpegs, but not png or gif.... Don't ask me why! 🤷
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!