Refactoring image list and adding image size

Updating markup to make it scalable as we add more attributes, and adding image size.

[finishes #78281002]