Rework “image hashes” in image.c to segregate by-path and by-name lookups into two...