Upgrade image gallery to 2.x version