Support for galleries created on the Nextgen Gallery 2.x branch.