app/assets/javascripts/bootsy/image_template.js
window.Bootsy = window.Bootsy || {};
window.Bootsy.imageTemplate = function(locale, options) {
var size = (options && options.size) ? ' btn-' + options.size : '';
return '<li>' +
'<a class="btn btn-default ' + size + '" data-wysihtml5-command="customCommand" title="' + locale.image.insert + '" tabindex="-1">' +
'<span class="glyphicon glyphicon-picture"></span>' +
'</a>' +
'</li>';
};