<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Just like the neighbor's cat in your kids' sandbox...</title>
	<link>http://ask.metafilter.com/94742/Just-like-the-neighbors-cat-in-your-kids-sandbox/</link>
	<description>Comments on Ask MetaFilter post Just like the neighbor's cat in your kids' sandbox...</description>
	<pubDate>Sun, 22 Jun 2008 21:12:00 -0800</pubDate>
	<lastBuildDate>Sun, 22 Jun 2008 21:12:00 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Just like the neighbor&apos;s cat in your kids&apos; sandbox...</title>
		<link>http://ask.metafilter.com/94742/Just-like-the-neighbors-cat-in-your-kids-sandbox</link>	
		<description> What am I doing to my links pointing to images in a private directory that prevents me from seeing the pics in &lt;em&gt;Dreamweaver CS3&lt;/em&gt; Design mode?  &lt;br /&gt;&lt;br /&gt; Searching Adobe&apos;s Knowlegebase and Google yields a flood of others&apos; issues with setting up passworded sites or &lt;em&gt;Dreamweaver&lt;/em&gt; forgetting FTP login info and I can&apos;t narrow the results to the problem I&apos;m having.&lt;br&gt;
&lt;br&gt;
I just started building a web site and I&apos;m rusty in HTML and am learning CSS. After I edit the code, I do like to check it out in Design view. Currently, I&apos;m uploading things to a private directory (passworded .htaccess on a Zeus server not managed by me) so my business partner can see pages before the site goes &quot;live.&quot; Viewing the site through a browser, one is prompted to enter the name and password to see this directory&apos;s content. No problems there. I have no troubles with file management in &lt;em&gt;DW&lt;/em&gt;&apos;s FTP prog or in &lt;em&gt;FileZilla&lt;/em&gt;, either. &lt;br&gt;
&lt;br&gt;
Suppose the page I&apos;m working on is located at http://www.[mydumbsite].com/public_html/sandbox/mydumbpage.htm . &quot;Sandbox&quot; is the passworded directory. My stylesheet for CSS is located in the same directory and the page refers directly to &lt;em&gt;mydumbstylesheet.css&lt;/em&gt; . The pics reside below &quot;sandbox&quot; in folders &quot;dumbimages&quot; and &quot;dumbimages/dumbthumbs.&quot; The stylesheet&apos;s effects on my .html pages show up in Design mode. The images do not. When it&apos;s all said and done, the images ARE there on the site and appear in the final product. I would just like to know what I&apos;m doing or not doing that keeps me from being able to preview.&lt;br&gt;
&lt;br&gt;
How do I refer to the image locations the short way (vs. &quot;http://www.[mydumbsite].com/public_html/sandbox/images/dumbpic.jpg&quot;) so &lt;em&gt;DW&lt;/em&gt; is not blocked access? Or Is there a way to tell DW to prompt me to get into pw&apos;d dirs in preview mode?&lt;br&gt;
&lt;br&gt;
Any other methods/advice (other than &quot;&lt;em&gt;OMG don&apos;t use THAT program, I write code with Sith blood on tree bark&lt;/em&gt;&quot;) are welcome.&lt;br&gt;
&lt;br&gt;
Thanks!</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.94742</guid>
		<pubDate>Sun, 22 Jun 2008 19:06:04 -0800</pubDate>
		<dc:creator>bonobo</dc:creator>
		
			<category>Dreamweaver</category>
		
			<category>DreamweaverCS3</category>
		
			<category>HTML</category>
		
			<category>hypertextmarkuplanguage</category>
		
			<category>FTP</category>
		
			<category>filetransferprotocol</category>
		
			<category>password</category>
		
			<category>htaccess</category>
		
			<category>htpasswd</category>
		
			<category>dir</category>
		
			<category>directory</category>
		
			<category>resolved</category>
		
	</item> <item>
		<title>By: AmbroseChapel</title>
		<link>http://ask.metafilter.com/94742/Just-like-the-neighbors-cat-in-your-kids-sandbox#1384089</link>	
		<description>I find your question a little confusing. Do the images show up OK when looked at on the web  server? That&apos;s not clear to me.&lt;br&gt;
&lt;br&gt;
What do the URLs of the images look like, in the CSS file?&lt;br&gt;
&lt;br&gt;
Is your local copy of this site actually defined as a Site in Dreamweaver, or just a bunch of files?&lt;br&gt;
&lt;br&gt;
One possible explanation, if you can see the images on the website but not in Drewmweaver&apos;s WYSIWYG view, is that your urls are root-relative, i.e. they look like this: &lt;strong&gt;&quot;/sandbox/images/foo.jpg&quot;&lt;/strong&gt; with a slash at the start. Root-relative urls don&apos;t work on a regular PC/Mac, only on a web server. That&apos;s why Dreamweaver has the Sites thing, which makes local code  behave as if it&apos;s on a server.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.94742-1384089</guid>
		<pubDate>Sun, 22 Jun 2008 21:12:00 -0800</pubDate>
		<dc:creator>AmbroseChapel</dc:creator>
	</item><item>
		<title>By: bonobo</title>
		<link>http://ask.metafilter.com/94742/Just-like-the-neighbors-cat-in-your-kids-sandbox#1384110</link>	
		<description>Yup, Ambrose!&lt;br&gt;
&lt;br&gt;
I came back to announce I discovered wonkiness between where my local Site stored images  and where the relative url pointed. I think I have it all ironed out now.&lt;br&gt;
&lt;br&gt;
BTW, the pages and their respective images worked just fine on the server.&lt;br&gt;
&lt;br&gt;
I still don&apos;t understand why, when the full URL to a remote server image was used, the pics were missing in Preview. I&apos;ll just make sure I use (correct) relative links on everything from now on out.&lt;br&gt;
&lt;br&gt;
Thanks.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.94742-1384110</guid>
		<pubDate>Sun, 22 Jun 2008 21:34:59 -0800</pubDate>
		<dc:creator>bonobo</dc:creator>
	</item><item>
		<title>By: drjimmy11</title>
		<link>http://ask.metafilter.com/94742/Just-like-the-neighbors-cat-in-your-kids-sandbox#1384148</link>	
		<description>&lt;em&gt;I&apos;ll just make sure I use (correct) relative links on everything from now on out.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
You can do that, but there are plenty of situations where you do want to use an absolute link. For example, if you had an include that gets used in more than one folder, a &quot;/images/[whatever].jpg&quot; type url will be sure to find the image no matter what folder the request is made from.&lt;br&gt;
&lt;br&gt;
Also, if you ever move a file from folder to folder, relative links will break but absolutes will be fine.&lt;br&gt;
&lt;br&gt;
If you really want to preview as it will be live, you need to install a server and then view your site on your computer at http://localhost:8080/[your site].</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.94742-1384148</guid>
		<pubDate>Sun, 22 Jun 2008 22:50:53 -0800</pubDate>
		<dc:creator>drjimmy11</dc:creator>
	</item>
	</channel>
</rss>
