получилось.
все дело в DisplayIEOS.aspx
а именно в функции init().
участок html DisplayIEOS.aspx который грузит файл (у меня он в конце файла):
PHP код:
<div id="TakePhoto">
<form id="form1" enctype="multipart/form-data" method="post" action="Upload.aspx">
<div>
<label id="label1" for="fileToUpload">ContainerId</label><br />
<input name="FileContainerId" id="FileContainerId" type="text" placeholder="" value=""><br />
<label for="fileToUpload">Take or select photo(s)</label><br />
<input type="file" name="fileToUpload" id="fileToUpload" onchange="fileSelected();" accept="image/*" capture="camera" />
</div>
<div id="details"></div>
<div>
<input type="button" onclick="uploadFile()" value="Upload" />
</div>
<div id="progress"></div>
</form>
</div>
init():
PHP код:
function init() {
"use strict";
focusFirstEnabledInput();
var ContainerId = document.getElementById("ContainerId");
var TakePhoto = document.getElementById("TakePhoto");
if(ContainerId == null)
{
TakePhoto.style.display = "none";
}
}
т.е. если моя WHS форма имеет контрол ContainerId то показываю форму для аплоада.
Теоретически, можно любой скрипт запхнуть и плюс есть информация о воркере. Дальше можно сервисами работать.