Tipatch makes TWRP include internal storage (photos, videos, downloads, etc) in data backups.

Tipatch patches TWRP to backup contents of internal storage (the emulated SD card at /sdcard) as part of Data, thus preventing data loss. Internal storage typically includes items such as photos, videos, downloads, game data, and other assorted files.