Get Asset metadata (height and width)
Hello, I've read lots but still haven't got a way to get asset metadata specifically height x width.
I get asset data by copy pasting "file" to my cq:dialog.
I'm using Java models (as what I have read) to get asset like this.

it returns a string to my DAM asset ex.
/content/assets/myfolder/asset.jpg.
how can I get it's metadata?
Previous thread:

This example seems cool but I can't populate the image resource field.
