added groundwork for validating that upload is an image