reintroduce public gallery sharing

The title says it all ......

fixes #1147 

@karlitschek @butonic @icewind1991 @schiesbn @blizzz @bantu @VicDeo  please give it a hard testing and a closer look.