Why are my product images still too large after resizing?

Thanks! Does this fix the height too?

Do I still need this code now Ninthony has fixed the width?