grid layout with/without image display