How can I change the image size in a template?