Implemented gallery image size settings