add imgData to model and editor