There is a plugin called web gallery in wordpress must try