Add basic attachment viewing support