AI OnAI Off
Hi,
I answered the same question yesterday here http://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/11/how-to-get-image-dimensions/.
To convert the result to JSON you should look at the documentation for Json.NET http://www.newtonsoft.com/json/help/html/SerializingJSON.htm.
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: