hi ...
sorry ... but i don't know whether this might be possible ... javascript cannot handle this as far as i know ... may be there are activex-controls for IE out there ... but that would be proprietary for IE only. javascript is able to manipulate the dom of a document, you may do a lot of validation-logik or some dhtml-things etc. but it has no file-, stream-reading abilities ...
of course you may set img-sources dynamically ... but the images has to be provided as ready sources ... so you may do something like:
- img_node_ref.src = 'new_image_src.jpg';
perhaps you may control plugins that handle streams, but js itself cannot do that ...
kind regards