adjust image size on edit button