image squeezes when I apply my template