The header line was hard coded as:
header("Content-Type: image/jpeg" );
.....it has the same result and verifies that the variable contained valid information.
What I can not understand is why after the header execution, is everything, including the JavaScripts that follow ignored and execution of my program is halted.
Any help????