Updated Gallery Template