Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

impressionbooth's avatar
impressionbooth
New member | Level 2
7 years ago

Reduce Image Sizes

How can i get multiple size to image i have uploaded.
e.g. i uploaded 5000x5000 png file.
and want to share 3 size
1980X1980, 1080X1080, 800X800

Quick help is appreaciated .

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    The Dropbox API offers the ability to get thumbnails for images files via the /2/files/get_thumbnail and /2/files/get_thumbnail_batch endpoints. Note that it only supports retrieving thumbnails of certain pre-determined sizes though. Click on "ThumbnailSize" to see the list. The particular sizes you mentioned are not supported. If you need different sizes, you'd need to download the original files and resize them client-side.

    Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 5 hours ago
415 Following

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 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!