Add the proper Gallery preamble.