Ah, good job! Unless the dev substantially changes how the gallery works, this will keep working for all future versions of Eternum.