While having a picture of your ID on your phone is better than nothing, there may need more to get through airport security. Therefore, trying to have your government-issued ID with you when you travel is best.