Implemented gallery feature.