I would like to add the size in the Gallery Settings in the Add Media.
I know to add the in the front-end by editing the media.php.
However, when I added the the lines in gallery.dev.js, they don't seem to work.
Here are the lines I had added in gallery.dev.js
Added size
setup : function() var t = this, a, ed = t.editor, g, columns,size, link, order, orderby;
Added galsize in the same setup : function (approx line 128)
if ( getUserSetting('galsize') ) t.I('size').value = getUserSetting('galsize');
Added in setup : function (approx line 141)
size = a.match(/order='"['"]/i);
Added in setup : function (approx line 150 )
if ( size && size[1] ) t.I('size').value = size[1];
Added size in update : function (approx line 170)
all = all.replace(/\s*(order|link|columns|size|orderby)=['"]([^'"]+)['"]/gi, '');
Added in getsettings : function
if ( I('size').value != 'medium' ) { s += ' size="'+I('size').value+'"'; setUserSetting('galsize', I('size').value); }