findLargestImageSize now correctly reads from vsiFiles.path)