Control that the uploaded file is an image