returning http error instead of log.Fatal when uploaded file could not be opened
Displaying preview above image