sacredgrim 0 Newbie Poster

Hey all

I have an issue with building a list of images. Below is the structure i would like to build.

basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will be needed) and "build" a list from the images in the folder and "build" a list like the one below but only changing the image name/ or similar.

I dont know which language for this, but the page is an xsl page so the scripts will need to work with it

<div id='scroll_right'>
		<img src='/assets/schools/design/images/imgs/pre1.jpg' />
		<img src='/assets/schools/design/images/imgs/pre2.jpg' title='Pesca' />
		<img src='/assets/schools/design/images/imgs/pre3.jpg' />
		<img src='/assets/schools/design/images/imgs/pre4.jpg' title='Lago' />
		<img src='/assets/schools/design/images/imgs/pre5.jpg' />
	</div>

Many thanks for any replies, all information is useful.