populate image class (except data for now)