[ic] UI: HowTo generate selectbox for images

Ton Verhagen ton@verhagen.net
Fri, 27 Oct 2000 17:23:54 +0200

Hi all,

Regarding UI section: Page Content
How could I automatically generate a selectbox containing the filenames of 
images in a certain directory?

I know how to create one by using this code:

page _picture:
	options: pic1.gif, pic2.gif, pic3.gif*
	description: Picture at the top of the page
	widget: select

However, I would like to do the same as in the section 'Edit product item'. 
---> The value of the image field can be selected from a selectbox:-)

Any pointers are much appreciated.


All the best,