<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1034536" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1034536</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/graphics-wont-display-locally#comment-1200793</link>
    <description> &lt;p&gt;What is the actal SRC= for the image, is it a relative path (ie.  &quot;images/picture.jpg&quot; or an absolute path (ie. &quot;/images/picture.jpg&quot; or &quot;http://www.domain.com/images/picture.jpg)?&lt;/p&gt;
&lt;p&gt;It is probably that you have an absolute path, therefore you cannot see it locally.&lt;/p&gt;
&lt;p&gt;If you are using firefox to view the image, right click on where the image should be and choose &quot;View Image&quot; and it should show you in the location bar where it is trying to get the image from.&lt;/p&gt;
&lt;p&gt;Myself, as the way I used directory structure and templates, I prefer everything absolute off of the root of the site ( /images/picture.jpg ) This avoids any problems when using an included template throughout many directories, which a major site I maintain does.&lt;/p&gt;
&lt;p&gt;To be able to use this on a windows system, and still do local previews, I use the SUBST command. Here is how I set it up:&lt;/p&gt;
&lt;p&gt;Assuming the root of the site is located in the folder:&lt;br /&gt;
D:\WebSites\Company.com&lt;br /&gt;
I will create a temporary &quot;drive&quot; say, W:  this way:&lt;/p&gt;
&lt;p&gt;Create a new shortcut (right click on an empty spot on your desktop, NEW -&amp;gt;Shortcut&lt;/p&gt;
&lt;p&gt;For the &quot;Location&quot;, for my example above, enter  &lt;strong&gt;SUBST.EXE W: D:\WebSites\Company.Com&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;For the name, it will suggest &quot;subst.exe&quot;, change this to something meaningful like &quot;Company.com Drive&quot;&lt;/p&gt;
&lt;p&gt;Now double click on theshortcut when you want to work on your site. You will now have a drive W: that is actually the content of D:\Websites\Company.com&lt;/p&gt;
&lt;p&gt;Now how it works:&lt;/p&gt;
&lt;p&gt;If you have the page trying to view \images\picture.jpg , on the server it is the root of the domain, however, viewed locally, it will be trying to go off of the root of our drive. In my example, it would have tried to load  D:\images\picture.jpg when in reality, the image is located at d:\WebSites\Company.com\images\picture.jpg&lt;/p&gt;
&lt;p&gt;Now that you have a simulated drive W:, it will look for the image at W:\images\picture.jpg, where the image is actually at.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 May 2006 20:10:56 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1200793 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
