Embedding a link into a downloadable graphic?

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

  1. Albone macrumors regular

    Jul 22, 2003
    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. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    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. Albone thread starter macrumors regular

    Jul 22, 2003
    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. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    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. munkle macrumors 68030


    Aug 7, 2004
    On a jet plane
    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. superbovine macrumors 68030


    Nov 7, 2003
    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. CanadaRAM macrumors G5


    Oct 11, 2004
    On the Left Coast - Victoria BC Canada
    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. Truffy macrumors 6502a


    May 9, 2005
    somewhere outside your window...
    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. dornoforpyros macrumors 68040


    Oct 19, 2004
    Calgary, AB
    agreed, your boss doesn't know what she's talking about.
  10. ChicoWeb macrumors 65816


    Aug 16, 2004
    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