I did follows:
1.back up the database of wordpress
2.delete the folder named “nextgen-gallery” in “wp/wp-content/plugins”.(my photos are stored in “wp/wp-content/gallery”)
3.log in the dashboard,select “Plugin” menu. At this time,it will prompt something like ”Please update the database of NextGEN Gallery. Click here to proceed“,then click that link and start proceeing,It should be updated soon.
you may setup a new WordPress site for testing,Good luck!