Solved hashing pics (still needs to retain extensions)