# Image Gallery Question - Numbered Buttons

**URL:** https://forum.kirupa.com/t/image-gallery-question-numbered-buttons/165560
**Category:** flash
**Created:** [October 12, 2005, 1:42am UTC](https://forum.kirupa.com/t/image-gallery-question-numbered-buttons/165560 "2005-10-12T01:42:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ilostmydream](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@ilostmydream](https://forum.kirupa.com/u/ilostmydream)
#### Post date: [October 12, 2005, 1:42am UTC](https://forum.kirupa.com/t/image-gallery-question-numbered-buttons/165560/1 "2005-10-12T01:42:48Z")

</div>

hey 🙂

I’m working on impliminting the image gallery tutorial into my own website and I was wondering if there was a way to choose which image I wanted to go to instead of just using the buttons to go to the previous and next images. This is the code that controls the buttons:

```auto

previous_btn.onRelease = function() { 
prevImage(); 
}; 
next_btn.onRelease = function() { 
nextImage(); 
}; 

```

Considering the fact that i’ve been looking at code for the past 5 days my brain won’t even start to allow me to to even think of a soultion!

Any help would be greatly apreciated because i’m almost finished 😃

Sincerely,  
Maile
