Embedding a link into a downloadable graphic?

Discussion in 'Web Design and Development' started by Albone, Feb 7, 2006.

  1. macrumors regular

    Joined:
    Jul 22, 2003
    #1
    My boss is POSITIVE that you can embed a url into a bitmap or jpg logo, so that when you download it to your desktop, you can click the logo and then be taken to the embedded url from your desktop. Furthermore, she's convinced that you can take that same embedded url logo that you downloaded to your desktop, place it into a new web page and not have to format that graphic. Why? Because the url is already embedded.

    Um....is this fiction, or can you really do this? If it is, its news to me and I can't seem to find any info on it anywhere.
     
  2. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #2
    I've never heard of that... And I really don't think that's possible.

    But I'm not a web professional.

    But if it was true, don't you think that a bajillion porno web places would have done it? And it's never happened to me.. not that I've ever looked at porno.

    Seriously though.. if it was possible, that would be a HUGE security risk! Just how would this link be crafted to work for a Mac and a PC and a Linux box and a Solaris box and etc? They don't all use the same calls to open a browser and then go to a URL?

    IMO, it's not possible and your boss should lay off the pipe.

    Now if it was a flash pic/app... that's another story.
     
  3. thread starter macrumors regular

    Joined:
    Jul 22, 2003
    #3
    Hey thanks for the reply, if nothing else its validation and I feel a little better about going to the boss. Actually, its my bosses-bosses boss. A certian irony, dontcha think?
     
  4. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #4
    Don't forget..

    But I really think I would have come across this in all my years using the internet if it was possible.
     
  5. macrumors 68030

    munkle

    Joined:
    Aug 7, 2004
    Location:
    On a jet plane
    #5
    I'm almost certain that this is not possible, at least not with a .jpg/.bmp/.gif. Maybe with Flash but then it wouldn't have the same functionality.
     
  6. macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #6
    nope you can't do it. if you boss doesn't believe you find the jpeg, bitmap, and gif spec out on the internet...
     
  7. macrumors G5

    CanadaRAM

    Joined:
    Oct 11, 2004
    Location:
    On the Left Coast - Victoria BC Canada
    #7
    You could with a PDF... On the web page you have a GIF. The GIF has a link to the same graphic but in a PDF with a custom page size of the dimension of the graphic. So it would download the PDF when clicked on. The PDF file has a hyperlink defined in it in Acrobat. You can open the PDF on your desktop and click on it and it'll go to the link. Then when you want to put it on a new web page, you can... er... um... nevermind, it breaks down there.

    AFAIK the only common graphic things you can download that can hold an embedded URL are PDF or Flash.
     
  8. macrumors 6502a

    Truffy

    Joined:
    May 9, 2005
    Location:
    somewhere outside your window...
    #8
    Cannot be done. The only way an image can work as a link is to be placed within an anchor element with its HREF attribute set to an URL. The only way a link could be 'embedded' within an image is if the URL were part of the graphic design or watermark, but then it wouldn't have the click functionality.

    Clickable links can be placed in Flash images, but even then they have to be served as part of a HTML page for them to be clickable. I don't think you could click on a downloaded SWF and be taken to a linked page.
     
  9. macrumors 68040

    dornoforpyros

    Joined:
    Oct 19, 2004
    Location:
    Calgary, AB
    #9
    agreed, your boss doesn't know what she's talking about.
     
  10. macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
    #10
    You can however make it and HTML bookmark that they save to their desktop. Thus everytime they open the HTML file it will open up in their web browser with the absolute URL to their image.

    Thats my only advice and probably what she is talking about.
     

Share This Page