db image handling

uploadImages(paths) -> None
scanImages() -> gen(path, img)