changes for imagegallery dev20