nginx is running Ok on my Raspberry PI server. In my www directory, I have html and images directories, with html being the root for my website of johnrose.mywire.org. When I double click the summer.html file in the html directory (in File Manager) it shows the photo but doesn't show it when I externally use a URL of johnrose.mywire.org/summer
summer.html is:
<!DOCTYPE html>
<html>
<head>
<style>
img {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<h1><b>Summer the Cat</b></h1>
<br>
<img src="../images/summer.jpg" alt="Summer" width="400" height="300">
<br>
<p><b>Life is so hard</b></p>
<br>
</body>
</html>
summer.jpg is in the images directory.
Attachments:
open |
download -
johnrose.mywire.org
(991 bytes)