# Linking to larger image in the Photo Gallery using XML and Flash

**URL:** https://forum.kirupa.com/t/linking-to-larger-image-in-the-photo-gallery-using-xml-and-flash/156471
**Category:** flash
**Created:** [July 26, 2005, 2:46am UTC](https://forum.kirupa.com/t/linking-to-larger-image-in-the-photo-gallery-using-xml-and-flash/156471 "2005-07-26T02:46:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Heisei](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@Heisei](https://forum.kirupa.com/u/Heisei)
#### Post date: [July 26, 2005, 2:46am UTC](https://forum.kirupa.com/t/linking-to-larger-image-in-the-photo-gallery-using-xml-and-flash/156471/1 "2005-07-26T02:46:41Z")

</div>

I’ve been tooling around with the [photo gallery](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm), trying to get it so the larger image, when clicked, loads an even larger version of the selected thumbnail. I have the XML that looks like this:

> ```
> &lt;pic&gt;
> 
> ```

```
    &lt;image&gt;[http://heisei.he.funpic.org/html2/layouts/websites/psorange.jpg](http://heisei.he.funpic.org/html2/layouts/websites/psorange.jpg)
    &lt;caption&gt;PS Orange
    &lt;thumbnail&gt;[http://heisei.he.funpic.org/html2/layouts/websites/thumbpsorange.jpg](http://heisei.he.funpic.org/html2/layouts/websites/thumbpsorange.jpg)
    &lt;link&gt;[http://heisei.he.funpic.org/html/layouts/websites/psorange.gif](http://heisei.he.funpic.org/html/layouts/websites/psorange.gif)
&lt;/pic&gt;

```

and I’ve noticed that the actionscript in the .fla doesn’t mention the link variable at all… If someone could give me a hand getting this to do what I want, I’d really appreciate it… I’m not all that adept at using flash/xml, so I’ve really just been frankenstein-ing mine together from cool bits I’ve found here and there.
