﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13547	Popup on before uploadimage	datalink		"It is only an idea at the moment.

Maybe it is possible to open a little inline popup before uploading. So users can input their own variables to send with the request URL.
{{{
config.imageupload_enablePopup = true/false;
config.imageupload_popupSource = '<div>free html source</div>';

editor.on('beforeUploadimage', function() {
    if(imageupload_enablePopup)
        openPopup();
});

editor.on('closePopup', function() {
    uploadUrlExtension = '&myvar1=' + popupinput.var1 + '&myvar2=' + popupinput.var2;
});

editor.on('fileUploadRequest', function() {
    ...
    xhr.open( 'POST', fileLoader.uploadUrl + uploadUrlExtension, true );
    ...
});
}}}
This would be an easy way to send any variable to the server and back with the response if needed: alt and/or title attribute, css class, width/height or whatever."	New Feature	closed	Normal		General		wontfix		
