On Sat, 7 Jun 2003 22:45:58 -0400, Roger Turk wrote:

> Glenn,

> I guess that I don't understand.  If all a person wants to do is to read a
> page offline, then it shouldn't make any difference if a dynamic image is
> changed to static, should it?

> Roger Turk

My point is simply that when the link is 'dynamic' it does
not contain "http://....";

Therefore, searching for "http://"; will not find it....
Therefore it will not get replaced.

The link will remain as
<img src="images/small/smallphoto-ofmyhouse-01.gif">

And will not be replaced by our required link to the local copy of
the image <img src="file://spmh-01.gif">

> Glenn McCorkle wrote:

> .. > Ahhhh..... 'twould be nice if 'twere that easy. ;-)

> .. > However,

> .. > Most web pages use a combination of both "static" and "dynamic"
> .. > addresses for images. (and for links to other pages)

> .. > (static)
> .. > <img src="http://www.cisnet.com/glennmcc/images/cacheidx.gif";>

> .. > (dynamic)
> .. > <img src="images/cacheidx.gif">

> .. > When the dynamic address is contained within a page located
> .. > at http://www.cisnet.com/glennmcc/

> .. > Then the 'completed address' becomes the same as if we had used the
> .. > static address.

> .. > The reason for doing this is for 'portability'.

> .. > The exact same page can be placed at many different
> .. > sites without editing to change a link to a (now local) file.

> .. > So.....
> .. > Doing a 'search and replace' of "http://.."; will not 'cut the mustard'.

> .. > --
> .. >  Glenn

-- 
 Glenn
 http://arachne.cz/
 http://www.delorie.com/listserv/mime/
 http://www.cisnet.com/glennmcc/
 http://www.cisnet.com/glennmcc/aqc/

Reply via email to