Images & Linking w/ALIASES
Posted by: trixterj (---.30.118.70.cfl.res.rr.com)
Date: April 08, 2006 03:19AM

I got my ALIASES to work with some help here and removing my .htaccess file
from my directory.

The problem now is that with [localhost] as an ALIAS it won't
load the images in d:/lostseed/images, nor will it link to other pages, such
as /contact/index.php the link goes to [localhost], when
I'd like it to go to [localhost].

This isn't my root directory, but I'd like it to treat /lostseed/ as the root and
every subfolder under /lostseed/ is treated this way.

Is that possible with an ALIAS?
Since I use folders/sub-directories for all my sites for organization.


Options: ReplyQuote
Re: Images & Linking w/ALIASES
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 08, 2006 06:46AM

in your index file located in [localhost] link to images like this:
images/someimage.gif

Options: ReplyQuote
Re: Images & Linking w/ALIASES
Posted by: trixterj (---.30.118.70.cfl.res.rr.com)
Date: April 08, 2006 09:01PM

This is how I link them:

<img src="/images/front_battles.jpg">

shouldnt that work?

Options: ReplyQuote
Re: Images & Linking w/ALIASES
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 09, 2006 12:59AM

<img src="/images/front_battles.jpg"> - That is right

Options: ReplyQuote
Re: Images & Linking w/ALIASES
Posted by: TwistedChaos (---.rochester.res.rr.com)
Date: April 11, 2006 04:22PM

try this ...
<img src="./images/image.png">

the ./ ensures that you are working out of the current directory



A Massive Heart Attack = Computer Crash sad smiley

I am a member of CAF -&gt; Computer Addicts Forever smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.