repackaged image gallery feature so it is no longer overridden