refactored into getNextImage(); prevent chip change to submit OK report
rectified image orientation (closes #30 but requires file db update
db.php only works on POST: fixed bug introduced in 36c3e3967f3840c2a04da87b88876366b7e96f0e