Display a dynamic list of GUI textures

I am creating a sort of strategy game and the player can pick buildings from a menu and place them down

so far I have a list of the buildings as buttons with there names are in the buttons
I want to display a picture of the buildings

this is the list, I have left room above each button to add a graphic
1256994--54931--$itemlist.jpg

and here’s the current loop I have for this

GUI.Box(new Rect(250,10,(Screen.width - 500),600), "Items");
			
		var Columns = 0;
		var Rows = 0;
		var BoxWidth = (Screen.width - 500) / 100;
			
	for(int i = 0; i<Items.Length;i++){
			
		Columns++;
		if(Columns==BoxWidth){
			Rows++;
			Columns=0;		
				}

		if(GUI.Button(new Rect(260 + (Columns * 100),(Rows * 100) + 100,80,20), Items[i].name)) {
				AddItemMenuShow = false;	
					
				CurrentTool = 0;
				eachitem.setItem(Items[i]);
						
						
			
			}
			
		}

Does anyone have any idea?

Thanks
Likdaboo

is an “Item” just a string?

if it’s some sort of structure class you could add the texture to the Item properties and have a function like GetImage()…