var content = this.doc.createElement('Content');
content.setAttribute('image-type', type ? type : 'jpeg');
content.setAttribute('size-bytes', size);
var content = this.doc.createElement('Content');
content.setAttribute('image-type', type ? type : 'jpeg');
content.setAttribute('size-bytes', size);