You actually have a much better probability of being able to at least view the contents of the text files on a machine 40-80 years in the future than if the same data was in some other format. I.e., try to find a way today to read an old WordStar, WordPerfect, or XYWrite file from the dos world. And those programs are not yet 40 years old... Yet a same age ASCII text file (assuming you migrated it off of floppies along the way) is still readable.
Wang WPS files on open-reel tape, say, or Locoscript files on Amstrad 3" (not 3.5"!) floppies, are admittedly much harder to convert, but by no means impossible. Worst-case scenario, firms exist that'll convert things like this as a service.
Professional archivists aren't simply going to stick digital media in a climate-controlled vault and assume it'll be accessible in 80 years, and, if you care about your photos, neither should you!
Putting (perfectly tractable) media preservation issues aside, most common lossy and lossless image formats have open, published specs for both image data and metadata, so I wouldn't anticipate problems reading these in the future — can you honestly imagine a non-apocalyptic future where JPEG, TIFF, or PNG files won't be viewable in 80 years? Unprocessed, proprietary camera raw files pose more interesting problems, of course.