added image gallery mode for galleries without surfer or group