Get Dimensions of Image

How to get the Dimensions of an imgage element?

I have a repeater that displays a picture. All data entries are automated so I started by just using the links to pictures. The problem is that they are not being downscaled and I am facing performance issues. I saw that I can specify the size of the picture in the link so I am now trying to read the size of the image box and add this value to the link.

If there is a simpler solution to this problem please let me know. Again I can’t add the picture in the editor as all of this is handled by an external script.

You can make all your images a standard size by using the fitMode function in the Image API.
https://www.wix.com/corvid/reference/$w.Image.html#fitMode