How can I get the size or dimensions of an image by its public ID?

When uploading using our API, every upload call automatically returns a JSON response with the file's details including the  byteswidth and height parameters.

You can also use our Admin API to list the details of an already uploaded image. For example in Ruby:


Note that Admin API calls (only) are rate limited.

For more information:

Have more questions? Submit a request


Powered by Zendesk