How did the user's website alter the image source code after saving?

The user's website altered the image source code after saving by using a PHP function like file_get_contents() to read the image file and then base64_encode() to convert the image data into a base64 encoded string. This altered source code can cause slower loading times and increased server load. To solve this issue, we can directly link to the image file in the HTML code instead of embedding the image data.

<img src="image.jpg" alt="Image Description">