the image file path is changed to the "img" folder.