resize photo for Product