Index: wp-includes/js/media-editor.js
===================================================================
--- wp-includes/js/media-editor.js	(revision 37444)
+++ wp-includes/js/media-editor.js	(working copy)
@@ -232,7 +232,7 @@
 		image: function( props, attachment ) {
 			var img = {},
 				options, classes, shortcode, html;
-
+			props.type='image';
 			props = wp.media.string.props( props, attachment );
 			classes = props.classes || [];
 
