resize img and change for the new text