I’m not a web developer, but just wondering if there’s an obvious answer to this?
I have an old webpage created in year ~2000, just an .HTML file with text and several jpg files contained in the same folder as the .HTML file. It always loaded correctly whether hosted online or opening it from local hard drive. In May 2025 I copied it (HTML and jpgs) to the local storage of an older Android phone (Samsung A02s running Android 12), and it loaded fine.
However, now it won’t load properly on that older Android phone. The HTML file loads but all the jpgs show as broken links. This is the case when loading the .HTML in Google Chrome, “Browser”, and “HTML Viewer”. In Chrome, in “Permissions”, I turned on allowing of loading of “Files and media”, and also cleared the cache in Chrome, but the problem remains.
I also emailed to self a zipped, fresh new copy of the webpage (HTML and jpgs), unzipped it to the older phone’s storage, and the fresh new copy also won’t load properly.
I then did all of the above with a second, newer Android phone (Samsung A15 running Android 16) (with the exception of turning on allowing of loading of “Files and media” in Chrome “Permissions”, because I didn’t see this option there). The same problem (of HTML file loading but jpgs showing as broken links) happens on the second newer Android phone. On this phone I tried loading the webpage in Chrome, “Browser”,“HTML Viewer”, and Brave browser.
The webpage loads fine on Windows PC from local hard drive, no matter what folder I put it in.
The references in the HTML file to the jpg locations are all relative; for example,
<p><img SRC="rail_3.jpg" height=287 width=429>
It doesn’t seem like file corruption, and if it’s one app-specific change on Android, it shouldn’t affect all of Chrome, “Browser”, “HTML Viewer”, and Brave?
Does anyone know what I’m doing wrong?
Thanks.