- From: Charles McCathieNevile <charles@w3.org>
- Date: Tue, 10 Sep 2002 03:47:54 -0400 (EDT)
- To: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
- cc: Lista Amaya <www-amaya@w3.org>, <Jose.Kahan@inrialpes.fr>
Possibly related. When I copy an image from a different site (for example I am working on http://www.w3.org/foo and I copy from http://www.example.au/bar/) it copies fine. (This is the behaviour described below, and where the image comes from a different server I think it is a feature, but within the same file system I think it is a bug). But if the image is a link, and I copy the link and image then I only get the image path as it was in the original, not the full URI. In the example above, if on http://www.example.au/bar/ I copy the following code snippet: <a href="something"><img src="/images/icon" alt="don't do it"/></a> (using the formatted view, of course) I get the following code inserted into http://www.w3.org/foo: <a href="http://www.example.au/bar/something"><img src="/images/icon" alt="don't do it"/></a> (Actually it would be useful to have more control over whether links created were relative, relative to the root, or absolute, especially when copying them. I have thought a bit about that but the interface design is complicated.) Cheers Chaals On Mon, 9 Sep 2002, Bartolomé Sintes Marco wrote: >Hi: > >When I insert an image in a XHTML document, if the image is in the same directory of the document or in a directory inside the directory of the document, Amaya creates an img tag with a relative path (as it should do). But if the image is in a directory outside the directory of the document, Amaya creates an img tag with an absolute path (src="C:\etc...") instead of a relative path (src="..\etc..."). Is it a bug? > >I am using Amaya 6.3 for Windows 98. > >Best regards, >Barto -- Charles McCathieNevile http://www.w3.org/People/Charles tel: +61 409 134 136 SWAD-E http://www.w3.org/2001/sw/Europe ------------ WAI http://www.w3.org/WAI 21 Mitchell street, FOOTSCRAY Vic 3011, Australia fax(fr): +33 4 92 38 78 22 W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Tuesday, 10 September 2002 03:47:57 UTC