Try our conversational search powered by Generative AI!

Image Width/Height to JSON.


Is it possible to get the Width / Height from a image i've upploaded? For example i'm trying to get an image from a block and then put it inside a JSON object.

Like this:

                "image": {,
                    "width": 500,
                    "height": 800

Regards Ton
Edited, Nov 18, 2016 10:18


I answered the same question yesterday here

To convert the result to JSON you should look at the documentation for Json.NET

Nov 18, 2016 15:46


Nov 21, 2016 8:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.