#163 Stop crash when integer in image name cannot be parsed