how would i accomplish listing all image files in a directory? i gather i would use $findfile and/or something like: if ($regex($lower(...),(jpg|jpeg|jpe|png|gif|bmp)) > 0) {


but i am not sure how to actually put the script together.