add min height/width for image