Good timing! This feature is now checked into the mozilla trunk. It will be visible in the 0.9.5 milestone release as well as the next Netscape public release. Note that this feature uncovered another problem however (http://bugzilla.mozilla.org/show_bug.cgi?id=101426), which will be fixed in the mozilla tree in a couple of days, but that fix didn't make it into the Netscape release. There will be a release note for that issue: What happens is that an image with a relative link won't show up in the Composer document; the HTML is correct, and it will display just fine in the browser, but we forgot to update the new URL when we save the file, so the page doesn't have the correct base URL needed to find the image. To fix the problem in 6.1, you simply edit the "file:///...." url in the image dialog edit field, removing appropriate text to leave the correct relative URL (you must figure out the relative path yourself.) When you click OK in the dialog, that correct URL will be written as the SRC attribute. Charley
Willy Kreim wrote: > Hi, > > Could anyone tell me if Netscape 6.1 is "working as designed" or if > there is a way to make all inserted graphics (IMG SRC=) contain > relative paths instead of absolute paths? > > Let me explain: when I create html pages using Netscape 6.1's > composer, and I insert a graphics file (.gif / .jpg), the file is > inserted and displayed correctly, but in the html, the "IMG SRC=" link > is inserted using the full LOCAL file name (starting with > "file:///i:/subdir/file.gif"). > > This makes the images on the html to be broken when I upload the > files. > > Is there any config setup to make all IMG SRC tags use RELATIVE > (instead of full) links? > > In other words, when I select a file with path > "d:\html-work\project-a\images\file.gif" there should be a way for me > to > set up the "project base path" as "d:\html-work\project-a", so when I > insert an image, Composer should inser the link as "IMG > SRC=images\file.gif" and not > "file:///d:/html-work/project-a/images/file.gif" > > Is there a way to set this behavior? > > Thanks > Willy >
