Made a mistake in the gallery template, fixed now.