That's a somewhat generic question, isn't it?

You'd first enumerate all the images in the said folder, store the paths in a collection. You can work with the collection and an associated variable to give you things like the number of images, etc.

You can then simply set the imageurl of your image control to the collection's item's value.