Do not change image if the image path provided is empty