httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Pictures on webpage
Date Tue, 15 Apr 2003 10:15:31 GMT
Plain text please...

I can guess that you have put filenames in the src argument. If so, you
need to have relative or absolute URLs. In other words;

BAD: <img src="/home/users/grace/html/images/picture.gif"> (this will
work if you open the file locally via the filesystem, but will not work
via a webserver).

GOOD: <img src="/images/picture.gif"> (this is an absolute URL).

This is assuming your docroot is /home/users/grace/html...

If the image is in the same directory as the webpage, just do: <img
src="picture.gif"> (this is a relative URL).

As a general rule, the path you put after src has to work if you refer
directly to it in the browser, e.g. http://yourserver/images/picture.gif
should work (this is what the browser requests when it tries to get the

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

-----Original Message-----
From: Grace Batumbya []
Sent: Dienstag, 15. April 2003 11:53
Subject: [users@httpd] Pictures on webpage

I have designed a page but when i view it away from my linux machine,
i get a web page without any pictures.
Help me to change this so that pictures can be viewed on the internet.
This communication contains information intended only for the person(s)
to whom it is addressed. Any unauthorized use, retention, disclosure,
copying, or other distribution of this communication or taking any
action on its contents is strictly prohibited. If you have received this
message in error, please notify us immediately and delete this message
without reading, copying or forwarding it to anyone.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message