toViewData

Converts the Image model into the view object ImageViewData used to represent images in the UI.

Return

the ImageViewData converted