How can I resize a product image in my form?