use insertImage instead of insertMedia