I want to do a scroll view with photos rather then a text field

anyone here know how to import a jpg into a scroll view rather then a text field

this is what I’m working with

var scrollViewVector : Vector2 = Vector2.zero;
var innerText : String = "I am inside the ScrollView";
var slideshowPics : Texture;


function OnGUI () {
	// Begin the ScrollView
	scrollViewVector = GUI.BeginScrollView (Rect (Screen.width/3, Screen.height/5.5, Screen.width/3.2, Screen.height/1.5), scrollViewVector, Rect (0, 0, 400, 4000));

	// Put something inside the ScrollView
//	innerText = GUI.TextArea (Rect (0, 0, 600, 4000), innerText);
	
	slideshowPics = GUIElement (Rect (0, 0, 600, 4000), slideshowPics);

	// End the ScrollView
	GUI.EndScrollView();
	
	
	if (GUI.Button(Rect(Screen.width/1.20,0,200,100),backToRSButton))
        Application.LoadLevel(6); 
}

I really don’t know what’s so hard about just reading the script reference.

There is nothing in the ScrollView functionality that limits what you can put inside of it. Creating a new GUIElement and trying to shove it into a ‘Texture’ shaped hole can only end in problems. Just draw a texture the same way you would normally in the GUI system, with a call to

GUI.DrawTexture(slideshowPix, Rect (0, 0, 600, 4000));

and do so in between the BeginScrollView and the EndScrollView.