Added resize opts to template