Hyperlink in JPEGs

Post your questions and problem reports here
Post Reply
bobrace
Posts: 2
Joined: Thu Jan 04, 2007 11:38 pm

Hyperlink in JPEGs

Post by bobrace »

I'm just trialing your GIF Animator software right now, but would like to know if this is possible to do the following...

Is there a way to attach a hyperlink to images used in Easy GIF Animator? I have to two images, image one fades to image two and then back to image one again, looping. Is there a way in Easy GIF Animator to embed a hyperlink in each image so that when that image is displayed, a person viewing it (via a web browser) could click the image and be redirected to the hyperlink's URL?

Thanks,
Bob
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

A .gif in itself can't contain a hyperlink to a website, but you can certainly add the .gif within HTML code so when displayed in a browser, it will go to a URL. However, you can only link to one URL - you mentioned "embed a hyperlink in each image". Not sure if you want a different URL per image/frame or not. If so, then no, you can't.

If you simply want your image to go to a URL, simply use this HTML:
<a href="my_page.html"><img src="image.gif"></a>

Obviously change the filenames as required...

As an example, this arrow points to Google... :arrow:
bobrace
Posts: 2
Joined: Thu Jan 04, 2007 11:38 pm

ThankYou

Post by bobrace »

Yes, I do need to have a hyperlink per image. I see your response was that this software couldn't do that. Do you know of software that I could do this with?
Thanks
Bob
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Post by MikeyB »

Hello Bob,

As chrisjlocke says, GIF files cannot contain hyperlinks.
The only way to attatch a hyperlink to a GIF is with HTML code.
<a href="my_page.html"><img src="image.gif"></a>

And then you can only have one hyperlink per GIF, it's not possible to have seperate hyperlinks for each image within a GIF.

You could so something with javascript to achieve the same using rollover images.
Last edited by MikeyB on Wed Jan 17, 2007 12:22 pm, edited 1 time in total.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

You could also use Flash.
Post Reply