Wrong template of the gallery.