		i.onload = function () {
			/* Remove preview */
			imgPreview.getElement().setHtml('');

			/* Set attributes */
			if (orgWidth == null || orgHeight == null) {
				self.setValueOf('tab-properties', 'width', this.width);
				self.setValueOf('tab-properties', 'height', this.height);
				imgScale = 1;
				if (this.height > 0 && this.width > 0) imgScale = this.width / this.height;
				if (imgScale <= 0) imgScale = 1;
			} else {
				orgWidth = null;
				orgHeight = null;
			}
			this.id = editor.id + 'previewimage';
			this.setAttribute('style', 'max-width:400px;max-height:100px;');
			this.setAttribute('alt', '');

			/* Insert preview image */
			try {
				let p = imgPreview.getElement().$;
				if (p) p.appendChild(this);
			} catch (e) {}
		};
The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment.