httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grace Batumbya" <gracebatum...@mbw.co.ug>
Subject RE: [users@httpd] Pictures on webpage
Date Tue, 15 Apr 2003 12:41:52 GMT
Hi Owen,
Thanxs alot for that. It sure has helped me and saved my page.
thanx again
Regards Grace.

 =======================================================================
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.


-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com]
Sent: Tuesday, April 15, 2003 1:16 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Pictures on webpage


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
image).

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


-----Original Message-----
From: Grace Batumbya [mailto:gracebatumbya@mbw.co.ug]
Sent: Dienstag, 15. April 2003 11:53
To: users@httpd.apache.org
Subject: [users@httpd] Pictures on webpage


Hi,
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.
thanks.
 =======================================================================
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message