Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: incrediBILL
It's a good idea to rename that image to something not so obviously invisible.
In terms of people typing in the URL for the gif, yes they can do that, but all they'll see is a blank page. If you want to use an image on a page, then that image is accessible to anyone.
I also need to know how to put the .gif image on my
hosting server. I know I put it in the same directory
as the pages it is on. Just stick it in among my webpages?
I also know there is a way to prevent people from being
able to go directly to this gif and look at it.
Yes, you can just upload clearpixel.gif to the same folder as the HTML document on your server.
I'm missing your point on hiding the gif file, however. First, I never heard of a way to do this, and second, I don't understand why it is a problem. Can you fill us in a little more?
I'm looking at a competitor's excellent pages and when I
try to go to www.herpages.com/clearpixel.gif I go to her
homepage. If I try to go to www.herpages.com/anypage/ I go
to her home page. In other words if I try to go to any page
other than her home page or one of her named pages, or her site with a page name I make up, I end up at her homepage.
When I try that on my site, I get the message:
"Page not found." I wondered how she did this.
ErrorDocument 404 [yourdomain.com...]
This simply says "if a requested file is not found then send the user to anypage.html"