Overwrite gallery templates