Currently, there is no way to confirm that an uploaded picture is actually a picture, and not some other file artificially given a picture file type. This can be probably be fixed using a 'mime type' library, which could read the header of the data to confirm that the file type is real.
Currently, there is no way to confirm that an uploaded picture is actually a picture, and not some other file artificially given a picture file type. This can be probably be fixed using a 'mime type' library, which could read the header of the data to confirm that the file type is real.