Results 1 to 7 of 7
  1. #1
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Path to Icon for URL? (any)

    Do you mean where is it stored on the web server, or on your local machine?

    On the web server, it is generally favicon.ico in the root folder, eg http://www.google.com/favicon.ico = <IMG SRC=http://www.google.com/favicon.ico>

    On your local machine - I dunno - I use AM-Deadlink <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,568
    Thanks
    5
    Thanked 1,056 Times in 925 Posts

    Re: Path to Icon for URL? (any)

    The file name favicon.ico. It is stored in your TIF with the site name/favicon.ico (i.e http://www.yoursite.com/favicon.ico) as the internet address.

    Joe
    Joe

  3. #3
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Path to Icon for URL? (any)

    Just to add, if it is not in the web root folder, there will be a tag in the HEADing of the source code:

    < LINK REL="SHORTCUT ICON" HREF="http://www.wopr.com/w3timages/favicon.ico" >

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Path to Icon for URL? (any)

    How does Windows store the "path to the icon" data for a URL? Everyone knows how to assign an icon to URL, but where is this data stored? This is clearly "meta data" to the URL, but there no easy way I can find to "see" this data. Where is it stored? Thank you. (Perhaps this is a Windows System question??)
    ________________

    Now, I happened to use Firefox to do this, but I am not sure it matters -- I firmly believe the behavior is that same for IE. I dragged this exact thread's URL from the Address bar to my desktop. An "Internet Shortcut" (.url) is created by this activity. However, the icon changes from "Lex" icon that appears in the Address bar to a generic Firefox icon (FF is my default program for URL's).

    If I open up the URL with an Editor, I find the following header line:
    <LINK REL="SHORTCUT ICON" HREF="http://www.wopr.com/w3timages/favicon.ico">
    HOWEVER, that only seems to be active if the URL appears in the Address bar. Once I move the URL to my Desktop, the icon becomes the FF icon -- my default for .url File Types. I can open the URL Properties and use the "Change Icon" button to assign a new icon. I can even locate the Lex icon in my TIF and assign that one. If I apply this, the icon remains (until I empty my TIF).

    But where is this path stored? How do I 'see' the path to icon data? The LINK REL="Shortcut Icon" data does not change. I don't see that anything INSIDE the HTML changes. The "Properties" meta-data must store the info, but where do I see that? Even a Binary Editor (WinVi) does not show me that.

  5. #5
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Path to Icon for URL? (any)

    Your guys are too fast! I added to my original post. Sorry. I understand all about the TIF and favicons. But how on my local machine is the "path to icon" stored? Clearly it is something that is modifiable and persistent -- therefore it is stored somewhere.
    ______________

    WHY AM I ASKING? Well, how do you make a URL portable to other computers, yet retain the same icon? If I assign an icon to a URL on my computer, then send the URL to a friend, the Icon data does not appear to be preserved. A generic icon is used instead, even if the icon is on the other user's computer. Why? How can I make a specific icon stay assigned to a URL that can be used on any computer? There must be a solution! :-} Thanks.

  6. #6
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Path to Icon for URL? (any)

    You must also send a copy of the icon and then the new user must edit the shortcut and link the image to the shortcut based on where the image was saved.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Path to Icon for URL? (any)

    Right, but what if the icon is already on the user's computer -- and in the same path? For example, C:WindowsShell32icon.ico. Can't one adjust the path before sending the URL?

    Oooh. I guess I found the info I need -- now I have to figure out how to open up a URL and have it look like this..

    Sample URL File:
    __________________________________________________ _____

    [InternetShortcut]

    URL=http://www.someaddress.com/
    WorkingDirectory=C:WINDOWS
    ShowCommand=7
    IconIndex=1
    IconFile=C:WINDOWSSYSTEMurl.dll
    Modified=20F06BA06D07BD014D
    HotKey=1601
    _______________

    There must be two types of .url files?? One like the above, and the other is an HTML document?? Does that make sense?

    Answer: No. URL's function weird. If you try to open a URL with an editor, you get the Web Page, not the insides of the URL.
    _____________

    Final Add:

    As usual, all one needs is the correct tool. Normal "Editors" do not open the URL correctly -- not even WinVi. They seem to open the actual web page!! That is why I was seeing the HTML -- I was seeing the web page itself, not the Shortcut file.

    This is the tool one needs to modify the actual URL: IE Shortcut Editor. And it is freeware at that! Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •