[eluser]meer[/eluser]
first get their names from db, and then in view supply path with the corresponding image names
all images will be displayed with foreach
If you are not storing the name in DB and still u want to get all the names from directory then use glob function in PHP . If this is requirement then i can provide more help about this.