waynew Posted July 16, 2009 Share Posted July 16, 2009 I'm pretty sure this isn't a problem with my code. I've just began designing a template for a site and I've ran into a pretty strange problem. I saved a .png image file to an images folder on my localhost, but when I tried to view that image with the browser and/or place it in my template via a CSS file, the browser acted as if it doesn't exist. I'm 100% sure that the image is there and that the URL of the image in my CSS file is correct. I tried deleting my Internet history and trying again, but no. I then deleted my Internet history again and tried with IE, but that couldn't pick it up either. Yet when I navigate to it with Windows Exporer, I can see it and view it. It has never done this before? And I haven't changed any Apache or PHP settings.... Quote Link to comment Share on other sites More sharing options...
ober Posted July 16, 2009 Share Posted July 16, 2009 I'm willing to bet your path is wrong. Quote Link to comment Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 No, definitely not. Just a few seconds ago it showed; then I refreshed (without changing any code) and it didn't show. Quote Link to comment Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 Found the problem. In my home directory, I had an old .htaccess file from another site that I must have moved there while doing something or another. The file was protecting against hotlinking. Quote Link to comment Share on other sites More sharing options...
.josh Posted July 16, 2009 Share Posted July 16, 2009 Found the problem. In my home directory, I had an old .htaccess file from another site that I must have moved there while doing something or another. The file was protecting against hotlinking. No, definitely not. Just a few seconds ago it showed; then I refreshed (without changing any code) and it didn't show. I guess that means it isn't doing a very good job at protecting? Quote Link to comment Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 It was a file that was only supposed to be used on another online website. Just screwed up my localhost when I left it there. Quote Link to comment Share on other sites More sharing options...
.josh Posted July 16, 2009 Share Posted July 16, 2009 For some reason I read that, and the following conversation took place in my head: "Damn bitch, it's not my fault you got pregnant! I used a condom. Not my fault it was made for someone with a dick 3x bigger than mine!" and then she says "No, you're dick is 3x smaller than the average." Quote Link to comment Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 But my penis is large. Quote Link to comment Share on other sites More sharing options...
.josh Posted July 17, 2009 Share Posted July 17, 2009 I was projecting. Quote Link to comment Share on other sites More sharing options...
waynew Posted July 17, 2009 Author Share Posted July 17, 2009 Me too Quote Link to comment Share on other sites More sharing options...
.josh Posted July 17, 2009 Share Posted July 17, 2009 wanna compare projection sizes? Quote Link to comment Share on other sites More sharing options...
ober Posted July 17, 2009 Share Posted July 17, 2009 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.