We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Huezzer's avatar
Huezzer
Explorer | Level 4
3 years ago

Get file thumbnail/temporary link with max width and height specified

Hi!

 

I'm looking for a way to get a temporary link to a file from my dropbox but the file should only have a certain size. Eg. the original size is 1200x900 or similar, but when I get the thumbnail/link of the image I would like something like 420x300 (just random size). I don't want to use the api to get thumbnails since I have to send alot of data between my backend and frontend. I would like the client to get the image via the browser, just as with temporary links but with a restricted max size for them.

Is this possible or is there any other smart way to prevent a lot of data going from my backend to frontend and place the responsibility to the client to get the files?

 

Optimal would be a temporary link like this.... https://dropbox.........fhuafhauiwhfa/file?size=200x200

 

Thanks!