ArticleImage

constructor(type: String, url: String, caption: String?, width: Int, height: Int)

Parameters

type

always image.

url

where to load the image from.

caption

the caption to show under it, if it has one.

width

the source width, in pixels.

height

the source height, in pixels.