Added some basic error checking for filetype and only allow one image.