What's the best way to create a gui slider that will change the image on screen?

Basically I am looking for a way to have a 2Dimage displayed on screen, and then use a gui slider that is below it to change that texture?

I.e the slider will have 5 different positions on it that it can be set to that will change it to a different texture.

What would be the best method, to use gui.drawtexture for the texture itself or to have the texture as a plane and make the slider change to a different plane?

What would be the best method for this or if I could be pointed in the right direction.

Thanks

You could do something like this:

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour 
    {
    private int textureIndex = 0;
    public Texture[] textures;

    void OnGUI() 
        {
        textureIndex =
               (int)GUI.HorizontalSlider(
                    new Rect(25, 70, 100, 30),
                    textureIndex,
                    0,
                    textures.Length-1);

        GUI.DrawTexture(
               new Rect(10, 10, 60, 60),
               textures[textureIndex],
               ScaleMode.ScaleToFit,
               true,
               10.0F);
        }
    }