Add default values for image and null-check in editor.