# Hyperlinking each thumbnail: Kirupa Gallery tutorial

**URL:** https://forum.kirupa.com/t/hyperlinking-each-thumbnail-kirupa-gallery-tutorial/288765
**Category:** Uncategorized
**Created:** [May 20, 2009, 6:14pm UTC](https://forum.kirupa.com/t/hyperlinking-each-thumbnail-kirupa-gallery-tutorial/288765 "2009-05-20T18:14:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rmcnaugh2](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@rmcnaugh2](https://forum.kirupa.com/u/rmcnaugh2)
#### Post date: [May 20, 2009, 6:14pm UTC](https://forum.kirupa.com/t/hyperlinking-each-thumbnail-kirupa-gallery-tutorial/288765/1 "2009-05-20T18:14:15Z")

</div>

hello all. I just have a question on how to hyperlink each thumbnail. A prevoius post describes what I’d like to do. Here is what was asked

> How do I go about adding hyperlinks to the thumbnails in the Kirupa Adding Thumbnails Tutorial. I’m totally stumped. I just want to use the scroller with the thumbnails as links. What do I need to do?

“Flashtaku”

currently I have this for the thumbnails.

```auto

target_mc.onRelease = function() { 
getURL(link[p], "_blank");
};

```

All this does is show the first link in the xml for all the thumbnails. So I tried this.

```auto

target_mc.onRelease = function() { 
getURL(link[p++], "_blank");
};

```

this code goes to the next link eventually, but it doesn’t seem to load each corresponding link for each thumbnail as it would for the main image in the gallery.

any help would be appreciated,

rmcnaugh:samuelljackson:
