$imageFileType = strtolower(pathinfo($target_dir . $origin_file,PATHINFO_EXTENSION));