assets/scripts/medium-insert/images.js
function ($placeholder) {
			var that = this,
					$selectFile, files;

			$selectFile = $('<input type="file" multiple="multiple">').click();
			$selectFile.change(function () {
				files = this.files;
				that.uploadFiles($placeholder, files, that);
			});

			$.fn.mediumInsert.insert.deselect();

			return $selectFile;
		}
function ($placeholder) {
			var that = this,
					$selectFile, files;

			$selectFile = $('<input type="file" multiple="multiple">').click();
			$selectFile.change(function () {
				files = this.files;
				that.uploadFiles($placeholder, files, that);
			});

			$.fn.mediumInsert.insert.deselect();

			return $selectFile;
		}
function ( $placeholder ) { var that = this , $selectFile , files ; $selectFile = $ ( '<input type="file" multiple="multiple">' ) . click ( ) ; $selectFile . change ( function ( ) { files = this . files ; that . uploadFiles ( $placeholder , files , that ) ; } ) ; $ . fn . mediumInsert . insert . deselect ( ) ; return $selectFile ; }
Add image to placeholder

@param {element} $placeholder Placeholder to add image to
@return {element} $selectFile <input type="file"> element
Add image to placeholder