main
Gallery improvements (#4789)
Follow-up to e2548f6: add missing paths module, fix gallery extension