Ng2 is a project mainly written in PHP and JAVASCRIPT, it's free.
the nextgeneration of nextgen gallery for wordpress