generates a HTML picture list with thumbnail previews