Not so well versed in RenPy or Tyrano coding but couldn't it perhaps be possible by making a gallery which jumps to X/Y/Z event module thus making a gallery with minimal size increase?
I suppose so, additionally I don't know the difficulty of this suggestion, but perhaps it could be possible to add a keybind to the Hide text function, that way it might be more convenient to serve as both a replay system and a gallery.