allow relative gallery_root, and use NNN.EXT naming schema on files locally