Images loaded but not displaying
hobson42 at gmail.com
Sat Jul 16 09:39:28 UTC 2016
1) Use correct HTML, or you can only blame yourself if different
browsers mangle it each in their own way.
The structure is
<!DOCTYPE html> Html 5 only.
page content properly nested.
2) The src url takes its root as the location of the current page
(unless overridden with a base tag in the head area).
My guess is you need
<img src="/images/infographic.jpg" ....
On 16/07/2016 09:31, skorpinok wrote:
> Hi, i have installed nginx/1.2.1 on a debian 7 server, the image seems to
> have been loaded but shows broken & are not displayed on my index.html
> here is what did,
> <title>Welcome to nginx!</title>
> <body bgcolor="white" text="black">
> <center><h1>Welcome to nginx!</h1></center>
> <img src="/usr/share/nginx/www/images/infographic.jpg" alt="infographic"
> width="800" height="800">
> please suggest me how to fix this ?
More information about the nginx