If you are talking about the portlet that Ronald and Conrad built, then that only works with portal 2.0. We needed to fix this so that it works with Apache Jackrabbit. If you want to have a copy of an imagegallery that works with portal 2.2, then email us on that email address located on ImageGalleryPortlet.java.
Conrad, if you need help integrating the gallery with the CMS, let me know.
I have posted an updated ImageGallery on the Portlet Swap.