Fix line, column models.  Add gallery template