To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12890
12889  |  12891
Subject: 
Re: LPub problems
Newsgroups: 
lugnet.cad
Date: 
Wed, 15 Jun 2005 21:29:08 GMT
Viewed: 
1528 times
  
In lugnet.cad, Timothy Gould wrote:
Hi Kevin,

I'm really sorry if any of these have been brought up before but I
have some problems with certain LPub features.

a) When generating web pages, LPub references the images as
<img src="C:\...\filename.png">.
This is, to my knowledge, incorrect url referencing and does not work
in Firefox. To be correct, the C:\ should be preceeded by a file://
so that we see <img src="file://C:\...\filename.png">.
Should be about the easiest problem to fix I imagine.

I don't think this is the best way either.  The best fix is to
just get rid of the C:\ and go with a good relative path.
I tested this a while back and found that entering "../Images"
in the lpub URL box works on both IE and Mozilla.  My image URLs
generated by lpub end up looking like this:

  <IMG src="../Images/CAR.png"><BR>

A relative path with UNIX style slashes.  The additional advantage
to this is you can zip up the HTML and Images directories and
copy them as-is to a web server and the relative paths work there
as well.

Enjoy,

Don



Message has 1 Reply:
  Re: LPub problems
 
(...) <snip> (...) I have made this change per Don's recommendation. (...) Kevin (19 years ago, 15-Jun-05, to lugnet.cad)

Message is in Reply To:
  LPub problems
 
Hi Kevin, I'm really sorry if any of these have been brought up before but I have some problems with certain LPub features. a) When generating web pages, LPub references the images as <img src="C:\...\filename.png">. This is, to my knowledge, (...) (19 years ago, 15-Jun-05, to lugnet.cad)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR