First version actually working on RasPi(ver 2)
Finally got image/jpeg to return to browser properly as it kept getting corrupted.  This was because the file wrapper did not open as binary.
Reworked how the param parsing was done.