Image orientation complete

Procedure for detecting image orientation is complete, for now. Next
step is to process the HTML page that sends the device viewer dimensions
to the server PHP code.